SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
xcopy %1 %2 /y /e
The %1 and %2 are the source and destination arguments you pass to the batch file. i.e. C:\MyBatchFile.bat C:\CopyMe D:\ToHere
%1
%2
C:\MyBatchFile.bat C:\CopyMe D:\ToHere