Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
and it seems to be working ok for the copying of files and folders, but I want to format the drive first each time I run the script.
@echo off rem copy individual files xcopy "Z:\*.*" E:\ /d /r /y rem copy document trees xcopy "Z:\" E:\ /d /i /s /r /y XCOPY reference
Join the community of 500,000 technology professionals and ask your questions.