110Views13Replies

Author Options:

Batched file creation Answered

I would like to have a simple batch file that would allow me to copy the entire contents from the system drive (C:) to a signal directory on another drive, In others words I want copy of the entire directory tree including all file but stored in one directory. I assume it can be done with xcopy. I use to right this type file all the time but the year have taken that ability from me. Thank for any help you can give me.

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
iceng
iceng

8 years ago

You need a serial cable and a text command to move the appropriate files.

A

0
ka3ebe
ka3ebe

Answer 8 years ago

I don't want to moving files from one computer to another just from 1 drive to a file on another drive within the same computer. All I ask for is help with the a batch file or utility to copy the complete drive to a signal file

0
ka3ebe
ka3ebe

Answer 8 years ago

I don't want to moving files from one computer to another just from 1 drive to a file on another drive within the same computer. All I ask for is help with the a batch file or utility to copy the complete drive to a signal file

0
Prof. Pickle
Prof. Pickle

8 years ago

I don't know, because I've never needed to do this. Although I'm not that well acquainted with the COPY command, this should work:

copy C:\ /y

Have fun!

0
iceng
iceng

Answer 8 years ago

xcopy C:\Files E:\Files /i

In the above example, the files contained in the source directory of C:\Files are copied to destination, a new directory [/i] on the E drive called Files.

No subdirectories, nor any files contained within them, will be copied because I did not use the /s option.

0
Prof. Pickle
Prof. Pickle

Answer 8 years ago

Sorry, I didn't realize that I forgot the directory where files were being copied.

Thanks.

0
BillieBobbel
BillieBobbel

Answer 8 years ago

My bad, xcopy is a batch command and should work just fine.
But try it with regular copy anyways

0
thegeeke
thegeeke

Answer 8 years ago

I think that copy will just tell you it can no longer copy entire drives. Not sure about xcopy, but I could be wrong about copy. I just seem to remember an error the last time I tried to do it from command prompt. :(

0
rickharris
rickharris

8 years ago

Drag and drop the files on the new drive works

You can do this with folders as well

0
ka3ebe
ka3ebe

Answer 8 years ago

Yes that would be nice but some system files don't seem to like being drag and drop as soon as it comes to one that is in use the copy stops beside I am working with two 1 trigabit drives wich is a lot to drang and drop, The problem is they boyh have files on them from a daul boot system and I don't want to lose any of the data. I just want to get it all to one disk.

0
rickharris
rickharris

Answer 8 years ago

I gather you want to clone your HD - There are a number of pay for and free apps to do this.

http://downloadsquad.switched.com/2008/09/05/5-free-apps-to-clone-your-hard-drive/

0
Jayefuu
Jayefuu

Answer 8 years ago

I've used partition magic before. It was excellent.