Search found 213 matches

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

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 ( echo The Fol...
by ALbino
October 25th, 2014, 12:54 pm
Forum: Post-Processing Scripts
Topic: [WINDOWS] Commas in Path and File
Replies: 8
Views: 3862

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 the actual N...
by ALbino
October 24th, 2014, 7:05 pm
Forum: Post-Processing Scripts
Topic: [WINDOWS] Commas in Path and File
Replies: 8
Views: 3862

[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...