Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy batch file

Status
Not open for further replies.

Hobeau

MIS
Apr 19, 2004
77
US
hey guys, I'm trying to come up with a batch file that will copy a folder (including all subfolders and files within the folder) to a mapped network drive (C:/ to Z:/). Can anyone help me with the syntax?
 
try this..

xcopy c:\"my documents"\*.* z:\"my documents"\ /s /e /y

i used my documents as an example
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top