How do you copy files in dos

  reddwarfcrew 20:15 08 Oct 2004

my spare hard drive is failing to the point where the pc wont boot into XP if the drive is attached, but the bios does recognise it.

I want to try to copy some of the data (if I still can), but don't know the command line to do this in dos.

eg how do I copy a folder called 'test' from my failing H drive to my good D drive?

  JonnyTub 20:23 08 Oct 2004

popups are a pain, but the info's good. click here

  [DELETED] 20:27 08 Oct 2004

If its directories you want to copy the xcopy command will copy a whole tree: click here

  seedie 20:31 08 Oct 2004

make a folder in drive d: called test

i.e. d:<return>


copy h:\test\*.* <return>

Good luck


  reddwarfcrew 20:51 08 Oct 2004

thanks for the replies.

I've first decided to test by copying from a working drive to a working drive before I try the duff drive.

However, when I get to the A:\ prompt and type


then return, it says invalid drive specification?

The boot disk was made from the format function in My Computer in XP.

  reddwarfcrew 21:15 08 Oct 2004

I think it maybe due to the drives being ntfs (well from looking at click here , but you've gotta pay to see the solution!!)

  seedie 21:54 08 Oct 2004

If you have Partition Magic it will convert the drive(S)to fat 32. As a matter of interest I re-installed xp pro as fat32 to get round a similar problem to yours.

No doubt there are other ways of solving this problem but I'm not aware of them.


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

HTC U12 Plus review: Hands-on

Best Android emulators for Mac

TV & Streaming : comment regarder Roland Garros ?