Windows XP And MS-DOS
Guys/Gals,
I run Windows 98SE and use batch files a lot. One of the
things that I do with them is to restore my C: Drive from a
Ghost image stored on my G: partition. The batch is as follows:
@echo off
GhostCE.exe -clone,mode=pload,src=G:\01_Ghost\Newest.gho:1,dst=1:1 -sure
set comspec=c:\command.com
c:
cd\
set winbootdir=c:\windows
c:\windows\win.com
the set comspec, etc... lines will cause my computer to go directly to my
desktop after the C: Drive has been restored.
A friend of mine has a Windows XP box and when I wrote essentially the
same batch file for him, his box would NOT go to the desktop after the restore.
I eventually found the answer as to WHY it wouldn't work in XP, but for
the life of me, I can't find the answer I got.
Can you please shed some light on this and tell me why XP won't automatically
go to the desktop after the restore is done?
Thank you in advance for your help.
Big_Al















2%
10%





















re - Windows XP And MS-DOS
Hi, Al. What point does it get to. does it do everything its supposed to but stop at login screen instead of desktop, or does it not even get that far.
I have a feeling it likely doesn't get far into the reboot at all.
I have a feeling XP doesnt use the comspec command, let alone command.com.
I might be way off the mark, like I said its just a feeling (a distant memory) as I realy haven't dealt with XP for a couple of years.
Here's hoping Iv'e put you on the right path
PS just had a quick look, appears it uses cmd.com in the windows/system32 directory
Mark