Search found 3 matches
- 10 Dec 2009 07:31
- Forum: DOS Batch Forum
- Topic: Batch Rename file using Dos Left Function
- Replies: 3
- Views: 6361
I don't know if this was really the solution, but I've tested it (and for me at least) I found the error. When running the script from above, using filename 1234.A.1.ai.ps and running the script I got something like 1234.A.1 .jpg I found that I actually had spaces between commands in the file. I, ag...
- 08 Dec 2009 07:49
- Forum: DOS Batch Forum
- Topic: Batch Rename file using Dos Left Function
- Replies: 3
- Views: 6361
- 07 Dec 2009 12:50
- Forum: DOS Batch Forum
- Topic: Batch Rename file using Dos Left Function
- Replies: 3
- Views: 6361
Batch Rename file using Dos Left Function
I am using a batch file with ImageMagick to convert pictures from one format to another. I only need to run the program for the files in the directory. I can't get the variable b to be a:0,-4 It ends up printing to the screen as b:0,-4. for %%a in (*.ps) DO ( SET b=%%a:~0,-4! convert -de...