Solved

Add a search path

Posted on 1998-07-04
10
142 Views
Last Modified: 2013-12-16
Is it possible to add a search path on windows 95 without
modifying the autoexec.bat?
The reason that once I installed a program and restart w95,
it was unable to load the file win.com. I have to chage to the directory windows and type win to start it up. Then,
I made a path in the file autoexec.bat, and it is ok to restart. But I think there should be a way to add search path for windows 95 without changing the file autoexec.bat.
Many Thanks
Bruce
0
Comment
Question by:itbruce
  • 2
  • 2
  • 2
  • +3
10 Comments
 

Expert Comment

by:grizzle053098
ID: 1756755
Find the file WINSET.??? (exe or com) on your Win95 CD. I am not familiar with it's use but it
You can also edit a hidden file in c:\msdos.sys using notepad - it contains the following lines which Win95 uses. I would experiment with the WinBootDir variable but beware, there may be unexpected side effects????

[Paths]
WinDir=C:\WINDOWS
WinBootDir=C:\WINDOWS
HostWinBootDrv=C
0
 
LVL 1

Expert Comment

by:michelandre
ID: 1756756
Always make sure the last path name in autoexec.bat is C:\windows
I don't know why but it can prevent windows from starting up
0
 
LVL 2

Expert Comment

by:vx
ID: 1756757
What exactly is your problem? Autoexec finishes and an error is reported: "Unable to load WIN.COM"? Then have a look at your autoexec, you probably have a "SHELL=" there. Remove it, reboot and see if the problem is solved.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:itbruce
ID: 1756758
Before then, I didn't have auotexe.bat and config.sys on system. But I typed set, it showed that the path was c:\windows;c:\windows\command;.
0
 
LVL 2

Expert Comment

by:vx
ID: 1756759
Perhaps you should follow michelandre's advice, but I don't have C:\WINDOWS as the last pathname and I don't have any problems. Let us know how it turned out.

Regards,
Ties
0
 
LVL 9

Expert Comment

by:rmarotta
ID: 1756760
Try this:
Just rename config.sys & autoexec.bat with different extensions.
Will it then boot okay?
What program did you install when the problem started?
Regards,
Ralph

0
 
LVL 7

Accepted Solution

by:
cmcgee earned 0 total points
ID: 1756761
Edit your Msdos.sys file. It should be a hidden,read only file
It contains a several path statments. Grizzle was close but forgot to mention that it is the Msdos.sys file that will need to be modified.

This file resides in the root directory of C

Attrib -r -a -s -h msdos.sys

Try looking at the following values

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

This file resides in the root directory of C
Do this from Dos in the root directory

Attrib -r -a -s -h msdos.sys
0
 
LVL 9

Expert Comment

by:rmarotta
ID: 1756762
?????
It seems to me that is EXACTLY what Grizzle previously posted.
Ralph

0
 

Expert Comment

by:grizzle053098
ID: 1756763
rmarotta
Another points pirate at work?
All
Please let the person decide what is an answer - unless you are 100% SURE  you understand exactly what is required. Otherwise you hinder yhe process!!!!!
0
 

Author Comment

by:itbruce
ID: 1756764
But it didn't work. The msdos.sys of my user's system is the same of the proposed answer.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question