• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

how to copy files using dos

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

jstutman

Member
Joined
Oct 13, 2001
im trying to copy a file using dos. can someone tell me the what the command line looks like//

thanks
 
Simple commands in DOS.

Your prompt should be "C:\>".

Issue the command "Copy" then the location from, and the location to. Say you wanted to copy c:\test.txt c:\temp\test.txt. The command would look like this:

C:\>copy test.txt \temp

And away you go!
 
i cant figure it out

its a .dll file first off.


the paremeter looks like this

im pulling it form my a drive so

copy a:\text.dll

then i add where i want it to go


copy a:\text.dll c:\program files\ws_setup

then it gves me invalid syntax

what gives.

i got it to work once. and it said windows is using this file.

can i make windows stop sing the file, so i can swap the file out?
 
Are you typing it exaclty like you have it?
"copy a:\text.dll c:\program files\ws_setup"
Remember, DOS will only do 8 character file and directory names. So you'd have to do:
copy a:\text.dll c:\progra~1\ws_setup
 
Just curious, why not just use windows explorer to copy it? Are you on a DOS-only sys or something? Heh, dos-only...:p
 
Wa11y said:
Are you typing it exaclty like you have it?
"copy a:\text.dll c:\program files\ws_setup"
Remember, DOS will only do 8 character file and directory names. So you'd have to do:
copy a:\text.dll c:\progra~1\ws_setup

If your in a dos windows in 2k you can type

copy a:\text.dll c:\program files\ws_setup

but in windows 98 you would have to type

copy a:\text.dll "c:\program files\ws_setup"

Notice you need the "
 
Back