T O P I C ��� R E V I E W
|
Tahna Los
Member # 33
|
posted
And I wanted to vote for Gore too!!!! Okay, here's my problem. Somehow, my autoexec.bat file decided to write its will yesterday, and I've spent all day trying to recover what my batch file did. Apparently, a virus (I think) had overwritten the extension on my batch file and did something so that I could not delete any file with that extension. A friend of mine managed to purge that file as well as run a dos-based virus checker to nail the culprit virus. Now this leaves me without a batch file, and I basically tried to reassemble my batch file from memory. Here I have a problem: My work at the computer lab requires me to use many paths to gain access to certain directories without the need to access them separately. I had the following paths: path c:\dos path c:\windows path c:\[insert directory here] path c:\[insert another directory here] and so on. Unfortunately, my Windows will no longer load up. A classmate suggests moving my Windows path down to the bottom. I did so, and it did work, but now I cannot access all the other paths that I need to access. Anyone have any suggestions?
|
Jeff The Card
Member # 411
|
posted
Get a new computer?
|
Siegfried
Member # 29
|
posted
So what you're saying is that you can manage to get Windows to load, but things like your CD-ROM drive and drivers aren't loading?
|
Omega
Member # 91
|
posted
Um... IIRC, paths are all supposed to be on one line, with semi-colons between each directory. For example:SET PATH=C:\WINDOWS;C:\DOS;C:\PLEH;D:\ You're effectively telling it to make one directory the single path, then to replace it with another directory, then yet another. That's why only the last one works. You have to put them all in using a single command. All as is my understanding. I haven't really had to deal with all this in quite some time.
|
Siegfried
Member # 29
|
posted
Well, I opened up my autoexec.bat file and my path setting is:PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\CDROM;C:\BRCD\COMMAND;C:\BRCD\BIN I'm running Windows 98 Second Edition. If worse comes to worse, you might wanna see if you have old version of the autoexec file still on your hard drive that you could restore. I have two: autoexec.001 and autoexec.002. If you've installed something that has made alterations to your autoexec.bat file, you might to see if you still have the older version. It'll at least get Windows up and running fully again. And, as is always the last resort, you could try backing up your files and then re-installing Windows. Certainly not a fun prospect (especially if all you have available to back up your stuff is the floppy disk drive).
|
Vogon Poet
Member # 393
|
posted
Odd. The thing to watch is for path mappings you don't need. . . for instance, installing PCAnywhere 9 re-writes your AUTOEXEC.BAT to make the PCA directory the default, and Windows just doesn't start. Really useful.
|
Tahna Los
Member # 33
|
posted
Vogon: I've never had any problems with PCAnywhere 9 or 10 since I was using them when my boss left on a trip.Siegfried: I just tried that. For some reason I get a "Too many Parameters" on my screen.
|
This space for rent, 866-634-7213
Member # 417
|
posted
Try SET PATH=path;path;path;"%PATH%"
|
The_Evil_Lord
Member # 256
|
posted
quote: Siegfried: I just tried that. For some reason I get a "Too many Parameters" on my screen.
That's because the line has to end with a semi-colon as well, i.e.: PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\CDROM;C:\BRCD\COMMAND;C:\BRCD\BIN; Alternatively you can simply specify PATH=C:\;%PATH% - this will recurse all subdirectories beneath the root.
|
MC Infinity
Member # 531
|
posted
I just looked at my AutoExec.bat, and it's well, empty..... there is nothing there whatsoever, I don't know why, and it isn't bothering my computer. I guess I should be happy
|
Siegfried
Member # 29
|
posted
What the hell!? The copy and paste function ate my semicolon!
|
PsyLiam
Member # 73
|
posted
I'm not sure why having the PATH file missing would stop Windows from loading the CD drivers and all that. I always thought that the Autoexec.bat file was largely for DOS.Infinity: Your could be empty if you're running Windows ME or (I think) 2000.
|
Omega
Member # 91
|
posted
Is your config.sys file all right?
|
Michael_T
Member # 144
|
posted
I am definately glad that my stepdad minored and several of my friends are computer science majors. I would have gone mad by now and would have bought a new Sony Vaio laptop.
|
MC Infinity
Member # 531
|
posted
quote: Originally posted by PsyLiam:
Infinity: Your could be empty if you're running Windows ME or (I think) 2000.
Yes, I'm not in big trouble!! Thanks
|