I am having problems successfully running a bat file that was created with "Create Undo Batchfile" from the Actions menu in Bulk Rename Utility 2.7.0.3. When I try to run it, it gives an error of "The syntax of the command is incorrect." See EXAMPLE 1.
I looked at the batch file "Create Undo Batchfile" created, and made a change and it worked then. I had to remove C:\Documents and Settings\David\My Documents\My Pictures\test\ from what the file should be renamed back to. See EXAMPLE 2. Is there a way to fix this problem so I don't have to manually make the correction to the bat file created?
EXAMPLE 1: Bold text is what appears to be causing the syntax error.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\David>"C:\Documents and Settings\David\Desktop\undo.bat"
C:\Documents and Settings\David>REM BulkRenameUtility- UNDO Batch file
C:\Documents and Settings\David>REM
C:\Documents and Settings\David>REN "C:\Documents and Settings\David\My Document
s\My Pictures\test\1234.jpg" "C:\Documents and Settings\David\My Documents\My Pictures\test\abcd.jpg"
The syntax of the command is incorrect.
C:\Documents and Settings\David>ECHO Operation complete!
Operation complete!
EXAMPLE 2: The edits I made to the batch file to make it work. Bold text is what I edited.
REM BulkRenameUtility- UNDO Batch file
REM
REN "C:\Documents and Settings\David\My Documents\My Pictures\test\1234.jpg" "abcd.jpg"
ECHO Operation complete!