If your files are under c:\mesdocs\ and you want to copy the entire contents of the (upper) mesdocs directory to the root of your d: partition, you do: xcopy c:\mesdocs d:
And there you go ...
(:•Þ Pitu
kryok
even better: D.Weber's xclone in DOS, microscopic (22kb), very reliable can clone a single folder or an entire hard drive example: xclone c: d: ... see St Google
mario
Hello kriok I downloaded xclone, I started with a DOS boot disk, I launched xclone but I don't know which command to type to copy my hard drive to another one (I’m a beginner and I don’t understand English) I have XP Pro Can you help me?
burinho
you started your machine with a boot disk to load a DOS.
Millien
XCOPY Limited?
Hello,
Actually, I have a directory that contains 3000 directories. In these directories, I have files.
I am looking for the command to copy these files into a single folder and thus break the hierarchical structure.
Thank you in advance.
Rachid
It's simple:
xcopy /E *.* d:\"your backup folder"
Jaafar Med
But Xcopy /e only copies the files.
jfnault
Access a computer with internet, download zip for DOS.
run the command: zip *.* filename
then: copy filename WhereverYouWant
Pitu
Contributor
Hello Burinho.
A good old xcopy source dest will solve your problem. See you later.
(:•Þ Pitu
mfondoum
Hello I read the article on copying directory tricks under DOS that you wrote. Unfortunately, I've tested everything and it doesn't work for me. I'm not making any mistakes in my input, though. I would like to know if there is anything else you can suggest. I'll tell you exactly what I want to do: - I formatted my hard drive and I want to copy the operating system from the CD to the hard drive before starting the installation from the hard drive. How can I do that? Thank you in advance. Roland
burinho
it's not quite the same problem as the one I encountered when saving my data.
if you have formatted your hard drive, you just need to boot with a Windows 98 boot disk with CDROM support, and then type install to install Windows.
Mister BeeGee
Even better: you zip the directory and subdirectories with Winzip and you only transfer a single file instead of messing around with directories!
stephane
Hello, I’m desperately trying to do what you said but..... (xcopy or xclone). I get the message: incorrect command name. However, the copy function works. I don’t understand. I have XP Pro. A little help please.
burinho
what do you want to copy exactly, why aren't you using Windows?
stephane
I have a problem with my hard drive. I no longer have the content under Windows. It's asking me to format the disk. But I would like to recover my data first, especially since I can copy them from DOS.
burinho
Have you tried the xcopy and copy commands? However, I think you need to start with a boot disk because I believe that with XP you don't have DOS.
stephane
I started with a boot disk in DOS. The copy function works but we can only copy a file and not a directory. The xcopy function does not work. And now, I'm stuck.
burinho
have you checked the correct path?
ex: c: mydocs\toto\xxx.
if you want to copy the directory, you need to be at the root:
c: mydocs\toto\xcopy xxx d:
stephane
The directory I want to copy is under d:
I'm in DOS at the root of d: and I'm typing copy rep c: to copy it to c And it's not working.
burinho
you need to go to the root of the directory and use xcopy
stephane
The issue is that it doesn't work with xcopy. whereas copy works and that's my problem...