Search found 214 matches

by ALbino
October 25th, 2014, 2:55 pm
Forum: Post-Processing Scripts
Topic: [WINDOWS] Commas in Path and File
Replies: 8
Views: 7782

Re: [WINDOWS] Commas in Path and File

Great! Will that be in the next release? Is the next release an increment of 0.7.* or will it wait for 0.8?
by ALbino
October 25th, 2014, 2:46 pm
Forum: Post-Processing Scripts
Topic: [WINDOWS] Commas in Path and File
Replies: 8
Views: 7782

Re: [WINDOWS] Commas in Path and File

The best thing seems to be just to error and exit the script. I tried checking to see if %3 was in %1 but that fails too since %3 is also truncated because of the comma. This is the last thing I tried with both %1 and "%1": echo off echo. echo Current Directory: %CD% echo. if exist %1 ( ec...
by ALbino
October 25th, 2014, 12:54 pm
Forum: Post-Processing Scripts
Topic: [WINDOWS] Commas in Path and File
Replies: 8
Views: 7782

Re: [WINDOWS] Commas in Path and File

I just wrote a very basic test script and it failed. Here's the code I just tried: echo off echo. echo Percent 1: %1 echo. echo Percent 1 with quotes: "%1" echo. echo Current Directory: %CD% echo. echo Changing directories... echo. cd /d %1 echo. echo New Directory: %CD% echo. Replacing th...
by ALbino
October 24th, 2014, 7:05 pm
Forum: Post-Processing Scripts
Topic: [WINDOWS] Commas in Path and File
Replies: 8
Views: 7782

[WINDOWS] Commas in Path and File

Hey all, I've very new to this, so this might be obvious. I have a few post-processing scripts I have written, mostly just to rename obfuscated files and move them to a different folder, but just today I ran into a problem where the NZB/Folder/File had a comma in it, and it switched my working direc...