Posted by William Lockie on June 26, 2010 at 15:22:14:
The following batch file I am developing to rename a W7 folder.I have included some dirs and pauses to help me troubleshoot.( they will be removed when the troubleshooting is finished ) It appears that the line beginning with "move" is the one that results in a failure of the batch file. It gives me a syntax error.
cd /D D:\
dir
pause
if exist WindowsImageBackup dir
move /Y D:\WindowsImageBackup D:\"%date:/=.%" W7
dir
pause
I have checked and checked again the correct Name of the folder, WindowsImageBackup>