Talk About Network

Google





Software > Basic Dos > Combining Multi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 625 of 700
Post > Topic >>

Combining Multiple XCOPY Commands

by "Anders Hellstrom" <obetug@[EMAIL PROTECTED] > Oct 7, 2007 at 09:59 PM

As shown in the following batch file, I use multiple xcopy commands to =
back up my work files. From an icon "Backup" I run the batch file. =
Unfortunately for each xcopy command a message comes up like "Overwrite =
F:\All Data Files\Address Book\Anders\wab <yes/No/All>?" and I will have =
to type an a before that command line can be completed. Before my whole =
backup is completed, I have to type in an a five times. Is that a switch =
or a command I can add in order to avoid typing in the a manually?=20

Xcopy C:\"All Data Files" F:\"All Data Files" /d:09-24-2007/c/e/h/k/r/s
Xcopy C:\"Do***ents and Settings"\"Anders" F:\"Do***ents and =
Settings"\"Anders" /d:09-24-2007/c/e/h/k/r/s
Xcopy C:\"ControlResearch" F:\"ControlResearch" =
/d:09-24-2007/c/e/h/k/r/s
Xcopy C:\"Faxitron" F:\"Faxitron" /d:09-24-2007/c/e/h/k/r/s
Xcopy C:\"Pictures" F:\"Pictures" /d:09-24-2007/c/e/h/k/r/s

rem This file Backup.bat is on C:\All Data Files\Batch Files
rem It is executed by double clicking an icon desktop
rem Valid as of Sep 24, 2007

Any help will be appreciated,

Anders
 




 7 Posts in Topic:
Combining Multiple XCOPY Commands
"Anders Hellstrom&qu  2007-10-07 21:59:48 
Re: Combining Multiple XCOPY Commands
ArarghMail710NOSPAM@[EMAI  2007-10-08 00:10:31 
Re: Combining Multiple XCOPY Commands
"Anders Hellstrom&qu  2007-10-08 14:48:31 
Re: Combining Multiple XCOPY Commands
"Judson McClendon&qu  2007-10-08 16:28:20 
Re: Combining Multiple XCOPY Commands
"Judson McClendon&qu  2007-10-08 16:30:56 
Re: Combining Multiple XCOPY Commands
"Anders Hellstrom&qu  2007-10-08 19:14:02 
Re: Combining Multiple XCOPY Commands
"Karl E. Peterson&qu  2007-10-08 14:01:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 20:23:25 PST 2009.