Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Add a search path

Posted on 1998-07-04
10
Medium Priority
?
149 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

636 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