Re: BAT file to re-start in Safe Mode...?
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Thu, 25 Sep 2008 23:36:43 +0200
"Kenneth" <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ib0od457969gh293dm70a70n5enb2uib9l@xxxxxxxxxx
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
Sorry - can't tell. I left the exact composition of the "shutdown" command
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
with them by typing shutdown /? at the Command Prompt.
.
- Follow-Ups:
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- References:
- Re: BAT file to re-start in Safe Mode...?
- From: Pegasus \(MVP\)
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- From: Pegasus \(MVP\)
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- From: Pegasus \(MVP\)
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- From: Pegasus \(MVP\)
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- From: Pegasus \(MVP\)
- Re: BAT file to re-start in Safe Mode...?
- From: Kenneth
- Re: BAT file to re-start in Safe Mode...?
- Prev by Date: Re: safe mode
- Next by Date: Re: ftp in Windows command window
- Previous by thread: Re: BAT file to re-start in Safe Mode...?
- Next by thread: Re: BAT file to re-start in Safe Mode...?
- Index(es):
Relevant Pages
|
Loading