G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)
I have a .BAT file which moves backup files from the local hard drive to a
network share. It worked fine under Win98SE, but fails under WinXP. The
command which fails is:
MOVE /Y Backup\*.* \\ServerName\ShareName\FolderName
It returns a message "Bad command or file name".
If I open a command window, navigate to the same folder, and issue the exact
same command, it works fine. Any idea why the MOVE command would not run in a
batch file? Any way to make this work properly?
I have a .BAT file which moves backup files from the local hard drive to a
network share. It worked fine under Win98SE, but fails under WinXP. The
command which fails is:
MOVE /Y Backup\*.* \\ServerName\ShareName\FolderName
It returns a message "Bad command or file name".
If I open a command window, navigate to the same folder, and issue the exact
same command, it works fine. Any idea why the MOVE command would not run in a
batch file? Any way to make this work properly?