|
Answer» what's wrong with my code?
move [D:\.....depart\toto_batch.txt] [D:\....arrivee\toto_batch.txt]/aRemove the brackets and the /a switch. When using the command line HELP, do not take them so LITERALLY. Brackets are used for optional parameters and the /a switch is invalid for the move command.
Hope this HELPS. Under Windows 2000/XP you should quote LFN with " " Example Move "C:\My Documents\Jack & Jill\*.*" "C:\My Documents\TEMP"
This almost applies to ANYTHING with LFN under the CMD prompt.
|