View Full Version : how to copy files using dos
jstutman
01-22-02, 07:52 AM
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!
jstutman
01-22-02, 09:56 AM
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
nuciles
01-23-02, 10:46 AM
Originally posted by jstutman
i got it to work once. and it said windows is using this file.
Were you trying in pure DOS or DOS in windows?
PhoenixMDM
01-26-02, 05:15 PM
Just curious, why not just use windows explorer to copy it? Are you on a DOS-only sys or something? Heh, dos-only...:p
RED Hot Machine
01-27-02, 08:14 AM
Originally posted by Wa11y
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 "
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.