I\'d like a batch script in Windows with which I can copy one directory to another. If this directory already exists, and then for each file that already exists in both with the
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