Solved

Add a search path

Posted on 1998-07-04
10
140 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
 

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
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now