Solved

Add a search path

Posted on 1998-07-04
10
141 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
Can’t get the mobile email signature right?

Not having any luck when trying to create an email signature for mobile devices? Does the formatting keep messing up? Make sure you have great email signatures on all devices by using Exclaimer Cloud - Signatures for Office 365.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

932 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

10 Experts available now in Live!

Get 1:1 Help Now