user2553061
user2553061

Reputation: 49

Batch script to copy file

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

Answers (1)

foxidrive
foxidrive

Reputation: 41297

xcopy "c:\folder 1\file.txt" "c:\folder 2\"

Upvotes: 2

Related Questions