Re: BAT file to re-start in Safe Mode...?




"Kenneth" <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1iind4d8tnd6k7q8tar57vbu777sb34u1v@xxxxxxxxxx
On Thu, 25 Sep 2008 12:59:52 -0400, Kenneth
<usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi again,

A few minutes ago, I wrote:


If I run MyBoot.bat, and then manually re-boot the box, it
comes up in safe mode. If I then run MyBoot.bat again, and
re-boot, it comes up in normal mode.


but since then, I have tried it again.

Now, if I run MyBoot.bat, it shows 1 file copied, but does
not modify boot.ini, which remains in its normal mode.

If I repeat, exactly the same thing happens.

Sincere thanks,
--
Kenneth

If you email... Please remove the "SPAMLESS."

You need to acquire a better understanding of the process in order to debug
it. Consider the following points:
- MyBoot.bat does NOT modify c:\boot.ini. It replaces it.
- When you run "MyBoot.bat safe" then c:\boot.ini gets replaced by
c:\boot.safe.
- When you run "MyBoot.bat" then c:\boot.ini gets replaced by c:\boot.norm.

During the debugging phase, change the line "shutdown /.. /.." in MyBoot.bat
to "rem shutdown /.. /.." so that the machine does not reboot all the time.

Armed with the above knowledge you should be able to find out what's wrong.
The whole thing is not "black magic" but rather a "substitution racket" . .
..


.



Relevant Pages

  • Re: BAT file to re-start in Safe Mode...?
    ... If I run MyBoot.bat, and then manually re-boot the box, it ... comes up in safe mode. ... which remains in its normal mode. ... If I repeat, ...
    (microsoft.public.windowsxp.general)
  • Re: BAT file to re-start in Safe Mode...?
    ... If I run MyBoot.bat, and then manually re-boot the box, it ... which remains in its normal mode. ... to you and I get the impression that you never filled in the missing bits. ... This command has a number of switches and you need to familiarise yourself ...
    (microsoft.public.windowsxp.general)
  • Re: BAT file to re-start in Safe Mode...?
    ... If I run MyBoot.bat, and then manually re-boot the box, it ... not modify boot.ini, which remains in its normal mode. ... You need to acquire a better understanding of the process in order to debug ... rebooting while I was attempting to debug. ...
    (microsoft.public.windowsxp.general)

Loading