that trailing backslash or change it to:
xcopy C:\Temp\*.* G:\Temp\*.* /s/e/f/d/y
I use xcopy for backing up but the following bat file:
xcopy C:\Temp\ G:\Temp\ /e/s/f/d/y
gives me an 'invalid path' error.
Both the directories exist and there is one file in C:\Temp.
I would be grateful for any help here.