View Full Version : Dos's Copy Command.

04-15-2002, 05:22 AM
G'day folks;

I'm wondering if someone can help me with a correct copy command syntax?

I'd like to copy the win98 folder only; from the cd to a hard drive partition.

I use my boot disk.

I use the command line:
copy k:\win98\*.* h:\win98

But; the entire win98 folder doesn't copy over to my hard drive partition. As I understand it the folder contents is around 173Mb, yet only 881Kb transfers over for me.

My system is working fine and I really doubt there's a hardware problem.

Incidently; if I use the xcopy32 command, the entire cd contents transfers to my hard drive.

It's got me stumped, I've read some differing instructions on Dos commands and I can't seem to master them, at the moment.

Thanks for any help;


04-15-2002, 11:56 AM
Try this.
Copy k:\win98\*.* h:\win98\*.* /v

Copying (*.*) All files and writing them into the win98 directory using the same names (*.*) with the /V tells copy to verify each files write.

04-15-2002, 06:45 PM
Have you tried the XCOPY command?
xcopy k:\win98\*.* h:\win98/e/s

Copies all files & subdirectories including empty subdirectories.

To get full syntax, from DOS Prompt type:
To save those results to a text file for better viewing, type:

That outputs what would have gone on the screen to the file "xcopy.txt"

Love that XCOPY!

04-15-2002, 07:04 PM
It's been explained but here is a link to Information about the xcopy command.
X-copy command Info (http://www.computerhope.com/xcopyhlp.htm)

CCMR (http://www.dreamwater.net/tech/yoda74/index.html)

04-15-2002, 07:22 PM
Thanks Rick and Eutychus;

The command line worked Rick however; I also discovered that I didn't create a path on the h:> drive either, using the md command.

More than likely that was the problem all along?

Your information regarding .txt was good too Eutychus, I didn't realize that and I'm sure it'll come in handy.



04-15-2002, 08:53 PM
Xcopy has One bad side effect
It also copies the Un-needed folder under win98. Like that POS online service folder and all the others .
You don't need them ..

04-16-2002, 11:09 AM
Have you ever heard of ZtreeWin? http://www.ztree.com/html/ztreewin.htm
It is the absolute best file management tool I have ever purchased. It costs $30 US and does more things than I can mention here. I bought a copy when WIN95 came out and have been installing free updates since and it keeps getting better. I have used it to even do exotic things like create text files containing file list for importing into databases. You can Prune and Graft sub directories. Duplicate or move selected files. The list goes on & on. The first thing I do whenever I get a new PC is to install ZtreeWin. (The second is to install ZipMagic, then replace the crummy NotePad.) ZtreeWin is also great for work on networks.

If you do very much file management, at least check it out. You may never use the Windows Explorer again! (No, I don't work for them http://www.PCGuide.com/ubb/biggrin.gif )