Windows 98 Setup May Truncate Path in the Autoexec.bat File (186927)
The information in this article applies to:
This article was previously published under Q186927 SYMPTOMS
After you install Windows, programs listed in the Autoexec.bat file may
not be started when you start your computer. These programs may generate
"Bad command or file name" or "Path not found" error messages.
CAUSE
Setup does not handle blank spaces in the PATH statement in the
Autoexec.bat file correctly. Any PATH statement that contains spaces
is incorrect. For example:
Before running Setup:
PATH=C:\Windows;C:\Program Files\Third Party Program
After running Setup:
PATH=C:\Windows;C:\ProgramFiles\ThirdPartyProgram
Note that the spaces are missing in the PATH statement after running Setup.
RESOLUTION
To resolve this issue, modify the Autoexec.bat file to add the missing
spaces. To do so, follow these steps:
- Click Start, click Run, type sysedit in
the Open box, and then click OK.
- On the Window menu, click Autoexec.bat.
- Add the missing spaces in the PATH statement.
NOTE: This problem can also affect other statements, such as SET
statements. Make sure to correct any other lines with missing spaces.
- On the File menu, click Exit.
- When you are prompted to save the modifed Autoexec.bat file, click Yes.
- Restart your computer.
Modification Type: | Minor | Last Reviewed: | 12/16/2004 |
---|
Keywords: | kbenv kbprb kbsetup KB186927 |
---|
|