Originally posted by: thorin
"Do not do this in pure DOS session. "
Why?
Thorin
Some of the above XCOPY switches will not work in pure DOS session and LFNs (long filenames) will not be copied accurately to your target hard drive.
This is a discussion in the Win98-L mailing list, 3 years back:
"On Tue, 27 Jul 1999 06:10:29 -0700, newmail <newmail@snail-mail.net> wrote:
> Let me ask you this, in the event of a crash, could I
> reinstall WIN98 and then use xcopy /r/i/c/h/y to restore
> the files that were saved using this same command from my
> 2.1GB removable orb drive? Would my C drive then be exactly
> like it was when the backup was made? Basically, I'm trying
> to image my C drive using my removable disk drive, without
> using backup software. Is there a better way?
This would work up to a point. Since the GUI has to be running for the
/r/i/c/h/k/e/y (notice the slight difference from what you wrote) command line
switches to be available, it also presents a problem when you are trying to
copy over your current installation because some of the files will be "locked"
by windows and the xcopy will not be able to overwrite them. Therefore you
would not end up with an exact duplicate of your backup. Unless you have the
ability to boot and start the GUI from your removable drive, or have another
HD that you can use I really don't think that xcopy is the right tool for you.
As far as backup software goes, I personally like Ghost. You can create an
image file from either Real Mode DOS or the GUI and you can restore the image
from Real Mode DOS and end up with an exact dupe of what you saved to the
image. There are other programs that other list members use and may prefer
but this is my personal preference for not special reason other than it works
fine, and has never caused me a problem, so I haven't bothered to try anything
else."
http://peach.ease.lsoft.com/scripts/wa.exe?A2=ind9907D&L=win98-l&P=R6764&I=-3