Thread: Batch Question
View Single Post
Old Jun 20th, 2006, 12:54 AM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Originally Posted by NightShade01
copy C:\Program Files\defs.bin C:\Program Files\My Program\defs.bin
The copy command takes 2 arguments.

copy [sourcefile] [destinationfile]

When you put a space in "program files" it, doesn't read properly. It's why you are having problems.

this is what you need: c:\Progra~1\file.bin

Check this out :
http://www.ericphelps.com/batch/lists/filelist.htm
Booooze is offline   Reply With Quote