I can put this in a cmd prompt:
copy e:\topdir\!!nextdir testdir
and it does it no trouble at all.
but put that line in a batch file and run it and it says it cannot find the file.
same with xcopy.
same with robocopy.
Must be the '!!' bit, I think. What can I do about it?
copy e:\topdir\!!nextdir testdir
and it does it no trouble at all.
but put that line in a batch file and run it and it says it cannot find the file.
same with xcopy.
same with robocopy.
Must be the '!!' bit, I think. What can I do about it?