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



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


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


Hello again,

Indeed, I did not fill in the "missing bits" as I did not
know that there were any to be filled in.

I'll get on it, and will let you know.

Many thanks, as before,
--
Kenneth

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



Relevant Pages

  • RE: Windows Explorer, Internet Explorer, MyComputer, Control Panel
    ... Try to perform a clean Boot in normal mode and see what app/program causing ... I uninstalled through safe mode .. ... I can not get at the KB fix name as CONTROl PANEl does not work ... without any command from the run command on CMD command prompt?. ...
    (microsoft.public.windowsxp.general)
  • Re: asigning a certain command to a certain keyboard key
    ... > to generate bindings for the normal mode based on the application mode. ... pressing F1 at the command prompt afterwards ... error messages before - it just output 0. ... are dead and it would be good to remap function keys instead. ...
    (comp.unix.shell)
  • Re: Folder options
    ... Open a run Command and type in: ... This option is not available in all versions of Windows XP e.g Home ... Please try in both Normal mode and Safe Mode, ... "Single-click to open an item" in the Folder Options is grayed out ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: AIX - MVS
    ... normal mode. ... which is not supplied with AIX. ... Standard vi does not include a feature for viewing data in hexadecimal. ... that's what the od command can do for you. ...
    (comp.lang.cobol)
  • 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)