copying all contents of folder to another folder using batch file? Ask Question

copying all contents of folder to another folder using batch file? Ask Question

I have a folder: C:\Folder1

I want to copy all the contents of Folder1 to another location, D:\Folder2

How do I do this using a batch file?

ベストアンサー1

xcopy.exe is the solution here. It's built into Windows.

xcopy /s c:\Folder1 d:\Folder2

You can find more options at http://www.computerhope.com/xcopyhlp.htm

おすすめ記事