Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



xcopy troubles

mrprimo55
05-22-2006, 07:23 PM
hey everyone
here's the deal: im trying to copy my music from my c: drive to another hard drive (labeled f: ) by using xcopy. i made a batch file in notepad and saved it as backup.bat . the command in the batch file says: xcopy c:\documents and settings\username\my documents\my music\itunes\ f:\backups\ /s /e /r /f /h /i /c /k /y this all seems fine to me, right? so when i click on the batch file to run it, the DOS screen flashes and then disappears. why is this happening and what can i do to fix it? thanks in advance for your help.

Nodsu
05-23-2006, 02:37 AM
You need to quote pathnames containing spaces. xcopy "c:\Doc.....\itunes\" ...

You can run your batch file from a CMD window or tell in its properties not to close on exit.

Ad
05-23-2006, 02:37 AM
  

mrprimo55
05-23-2006, 10:15 AM
You can run your batch file from a CMD window or tell in its properties not to close on exit.

Thanks for the help, how to I tell it not to close on exit?

N3051M
05-23-2006, 10:46 AM
right click into properties i think

Nodsu
05-23-2006, 12:58 PM
The properties thing will only work for Windows 9x. You can put a "pause" command in the end of your file if you wish to keep the windows open in XP.

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Samsung intros 2TB, eSATA-packing Story Station Plus external HDD

Gartner: PC shipments to grow 2.8% in 2009, revenue down 11%

Microsoft issues warning for IE6, IE7 security hole

LG X120 netbook to launch in the US for $180 with two-year AT&T contract

Intel's six-core Gulftown processor benchmarked months early

Another iPhone worm spotted, this time it's dangerous

More Tech News

  
 Software Downloads

FlashGot 1.2.0.9

RemoveIT Pro XT - SE 23.11.2009

Vuze (Formerly Azureus) 4.3.0.4

RemoveIT Pro v7 Enterprise 23.11.2009

Aloaha PDF Suite 3.9.172

Blindwrite Suite 6.3.1.5

RemoveIT Pro v7 Ultra 23.11.2009

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.