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.
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.