Subj : Re: XCOPY or COPY To : aria1946 From : Outsider Date : Mon Feb 11 2002 05:04 pm From: Outsider@f3.n342.z1.cereal.mv.com (Outsider) Subject: Re: XCOPY or COPY From: Outsider <"o?o"@microsoft.com> aria1946@hotmail.com.spoo wrote: > > I want to copy an entire partition to another partition, overwriting > anything that happens to be in the target partition. > > I created the copy on H: from E: (source drive) with a simple copy > function. On subsequent copies I want to basically overwrite H: with > the current contents of E:, preserving empty directories on E: in the > process. > > Is there any particular advantage to using COPY or XCOPY? Xcopy copies directories and files, copy is only for files. This should be compatible with all MSDOS versions that include xcopy and attrib. ATTRIB.exe -r +a -s -h h:\*.* /s ATTRIB.exe -r -a -s -h e:\*.* /s XCOPY.exe /y h:\*.* e:\ /s/e/m/v http://users.cybercity.dk/~bse26236/batutil/help/INDEX.HTM MS-DOS v6.22 Help: Command Reference -- Outsider -- |Fidonet: Outsider 1:342/3 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .