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



On Thu, 25 Sep 2008 23:04:55 +0200, "Pegasus \(MVP\)"
<I.can@xxxxxxxxxx> wrote:


"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" . .
.


Hi Pegasus,

My wording was poor, but I did understand that MyBoot.bat
copies the appropriate version into boot.ini, that is,
replaces it.

You responded as if I had said that MyBoot.bat was causing
rebooting while I was attempting to debug.

The problem I am having now is that when I run MyBoot.bat,
it does NOT reboot the system at all.

Many thanks,
--
Kenneth

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



Relevant Pages

  • Re: BAT file to re-start in Safe Mode...?
    ... If I run MyBoot.bat, and then manually re-boot the box, it ... rebooting while I was attempting to debug. ... This command has a number of switches and you need to familiarise yourself ... with them by typing shutdown /? ...
    (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 ... comes up in safe mode. ... not modify boot.ini, which remains in its normal mode. ...
    (microsoft.public.windowsxp.general)