I am trying to complete my batch script but under certain circumstances it fails.
This is the command I am running:
ROBOCOPY "C:\test\dash2\Hello - 4\" "C:\test\dash2\Hello - 4\..\" /MOV
And this is the error I am getting
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Mon May 11 01:28:46 2015
Source - C:\test\dash2\Hello - 4" C:\test\dash2\Hello\
Dest -
Files :
Options : /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
ERROR : Invalid Parameter #2 : "-"
I do surround my source and destination by double quotes. But according to the ROBOCOPY log the source and dest seems to be wrong
Using robocopy for file transfer is a very bad approach for a beginner because it will give errors sooner or later. I found it really soon because robocopy never seem to work at all. Now I am using GS Richcopy 360, and trust me the experience is great. It has a clean GUI plus it has more features than robo. Thanks!
RépondreSupprimer