Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello all, I need to transfer the

Status
Not open for further replies.

FSEdge

Technical User
May 26, 2001
63
US
Hello all,
I need to transfer the entire content of my current HD to a new one. Can this be done at the DOS prompt with a command. If so what would the command be? I have tried C:\>copy c:\*.* D:\ but all I get are the files local to the C:\ root. Why will it not copy any of the <DIR> located on C:\?

Any help would be great.

Thanks FSEdge

 
It may be better to use a utility like Norton Ghost, which will allow you to make a backup of the drive as well (just in case!).
 
Copy only does the working directory. If you must you can use xcopy with the /s subdirectory flag.
Just be aware that hidden and system files don't transfer and that is one reason paulwood suggested ghost. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
Thanks for the information.

FSEdge
 
Hi

For your information hidden and system files can also be copied using the /H flag.

You can use
XCOPY source [destination] /A /E /H
/A makes the archive attribute same as it was
/E enables copying of empty drectories and sub-directories as well
/H enables copying of hidden and syste, files as well

For full details type xcopy/?|more at command prompt.

A file that cannot be copied is the windows swap file (and the likes of those which are in use).

Bye.
:)
Please do correct me if I am wrong. :)
 
Version dependent switch. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
If you use xcopy, won't it chop all long filenames to 8 characters long?
 
Copying the files using copy, xcopy & xcopy32 will not give you a bootable Windows drive. You will need to create a drive or partition image using Ghost or Drive Image and then blast it to your new drive.

Even using xcopy32, you might lose the long file names. Test first.
 
first do have buy a new disk because maxtor seagate comes whit drivers for large partitions and comes too a program to clone the oldone into the new, that let you create a bootable disk from your old, or get the program diskclone or diskimage both clone your disk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top