Reputation: 49
How to create a batch file to copy a particular file from one folder to another. if the destination folder is not created, the script should create it and copy the files there.
Upvotes: 1
Views: 171
Reputation: 41297
xcopy "c:\folder 1\file.txt" "c:\folder 2\"
Upvotes: 2