BleepingComputer.com: Invalid Setting In Msdos.sys File In Windows Me General

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Invalid Setting In Msdos.sys File In Windows Me General Try To Recover Windows And Data Afer A Crash

#1 User is offline   dpatt53258 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 22-March 06

Posted 22 March 2006 - 11:13 AM

After following the directions for:
MS Knowledge Base Article ID 258741:

1.) Modify the WinBootDir entry in the Msdos.sys file to point to the
correct location of the Windows folder.

The reboot came back with the following:
Invalid setting in MSDOS.SYS file
WINBOOTDIR=C:\WINDOWSWINBOOTDIR=C:\WINDOWS
Type the name of the Command Interpreter (e.g., C:\WINDOWS\COMMAND.COM)

What have I done wrong and/or misinterpreted? Thanks again in advance!
--
~Dell

At the command prompt while in DOS type the following lines and press
<Enter> after each line:

attrib -s -h -r c:\msdos.sys
edit c:\msdos.sys

***Note the spaces between -s -h -r c:

If you get "Bad command or filename" you typed it wrong, try again.

Assuming that your Windows is installed on C: and that it was installed
in the default directory the WinBootDir entry should read:

WinBootDir=C:\WINDOWS

*** Note - No space in the WinBootDir line.

To exit and save the file press the <Alt> key and use the keyboard
arrows or letter shortcuts to perform menu actions.

John

Dell wrote:
> Noel:
>
> I did manage to make the boot disk for ME on my laptop to boot to DOS. I am
> trying my best to follow your instructions.
>
> I've confirmed all of the resolution steps to thiis point except item 1.) of
> Article ID 258741:
>
> 1.) Modify the WinBootDir entry in the Msdos.sys file to point to the
> correct location of the Windows folder.
>
> I do not understand how to perform the above from DOS. Can you help?
>
At the command prompt while in DOS type the following lines and press
<Enter> after each line:

attrib -s -h -r c:\msdos.sys
edit c:\msdos.sys

***Note the spaces between -s -h -r c:

If you get "Bad command or filename" you typed it wrong, try again.

Assuming that your Windows is installed on C: and that it was installed
in the default directory the WinBootDir entry should read:

WinBootDir=C:\WINDOWS

*** Note - No space in the WinBootDir line.

To exit and save the file press the <Alt> key and use the keyboard
arrows or letter shortcuts to perform menu actions.

John

Dell wrote:
> Noel:
>
> I did manage to make the boot disk for ME on my laptop to boot to DOS. I am
> trying my best to follow your instructions.
>
> I've confirmed all of the resolution steps to thiis point except item 1.) of
> Article ID 258741:
>
> 1.) Modify the WinBootDir entry in the Msdos.sys file to point to the
> correct location of the Windows folder.
>
> I do not understand how to perform the above from DOS. Can you help?
>
Dell[i][size=3]

***
"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence."
-Albert Einstein

#2 User is offline   Cyclica 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 87
  • Joined: 02-February 06

Posted 22 March 2006 - 07:02 PM

From DOS, or a command line window, type "EDIT C:\MSDOS.SYS", make the pertinent changes, save the file, exit the editor and reboot. Be careful not to remove or change anything else in the file.

If you keep getting the "Bad command or filename" error message, probably the editor is not present or variables are not set. Change to C:\Windows\Command folder and try again.

This post has been edited by Cyclica: 22 March 2006 - 07:05 PM


#3 User is offline   dpatt53258 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 22-March 06

Posted 23 March 2006 - 08:40 AM

Cyclica:
There was nothing else in the EDITOR file but the following two (2) entries:
WinBootDir=C:\WINDOWS
WinBootDir=C:\WINDOWS\SYSTEM

Is this normal? I added these I believe from the instructions of a Microsoft MVP tech. Thanks in advance for your help attempt!
Dell[i][size=3]

***
"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence."
-Albert Einstein

#4 User is offline   Cyclica 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 87
  • Joined: 02-February 06

Posted 25 March 2006 - 05:01 PM

Actually, the MSDOS.SYS file must be 1024Kb long at least for the system to work correctly. That's why "fill" characters are icluded in it, something like this:

[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C
UninstallDir=C:\

[Options]
BootMulti=1
B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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxn
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxo
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxq
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxr
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxs

This post has been edited by Cyclica: 25 March 2006 - 05:02 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users