also @ TechSpot: HDD supply to recover by Q3 2012, prices to remain high
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > Software Apps

Download Now:

xcopy troubles

Thread Tools Search this Thread
  #1  
Old 05-22-2006
TechSpot Member
 
Member since: Nov 2004, 32 posts
xcopy troubles

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:
Code:
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.
  #2  
Old 05-23-2006
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
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.
  #3  
Old 05-23-2006
TechSpot Member
 
Member since: Nov 2004, 32 posts
Quote:
Originally Posted by Nodsu
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?
  #4  
Old 05-23-2006
N3051M's Avatar
TechSpot Evangelist
 
Location: Sydney, Australia
Member since: Jan 2006, 2,800 posts
System specs
right click into properties i think
  #5  
Old 05-23-2006
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
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.
Closed Thread

Similar Topics
Topic Replies Forum
xcopy help 10 Windows OS
XCOPY COMMAND and EXCLUDE parameter 2 Software Apps
New HD not up to scratch - xcopy? 2 Storage and Networking
Problems with XCOPY over networked drive 8 Windows OS
XCopy Problem 2 Windows OS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 10:01 AM.