Solved

Add a search path

Posted on 1998-07-04
10
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

695 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