Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I recently upgraded hard drives and did a clean install of the system (win 98).
After re-installing most programs, I edited the autoexec.bat file to add a directory to my path and another to set a dircmd. For some reason, the set command does not work. Even bypassing windows, the path variable does not get reset, nor does the dircmd.
Please help, I have run out of ideas for a fix.

Hi,
Not sure about dircmd, but PATH command always works under Win95/98. Are you sure you make it correct? If you still have this problem post your Autoexec.bat here and maybe we can help.
Good luck, Igor

(I would have posted earlier, but school came first)
Since you asked, my autoexec.bat file, w/o all the REM's is:
@C:\PROGRA~1\NORTON~1\NORTON~2\NAVDX.exe /Startup
@ECHO OFF
SET DJGPP = C:\DJGPP\DJGPP.ENV
SET PATH = C:\DJGPP\BIN; %PATH%
SET DIRCMD = /o /p /w
SET BLASTER=A220 I5 D1 T4IT is actually the same autoexec.bat that I had used before upgrading the hard-drive. I get the feeling that the manufacturer of my computer (e-machines) is behind this, but I can't figure out where, and they don't want to return my tech-support request (which is fine by me, I don't like tech-support anyway).
The weird part about it is that I did a selective boot, loading only the four set commands (no config.sys or windows) and the smae thing happened. Does some other file load befor autoexec.bat that can change these settings.
Oh, and I know that the PATH command works but the two lines about DJGPP come directly from the developer of the software, and they worked for me before, but not now.

I accidently fixed the problem myself, apparently, the set command does not like spaces. The proper autoexec.bat file should read :
@C:\PROGRA~1\NORTON~1\NORTON~2\NAVDX.exe /Startup
@ECHO OFF
SET DJGPP=C:\DJGPP\DJGPP.ENV
SET PATH=C:\DJGPP\BIN;%PATH%
SET DIRCMD=/o/p/w
SET BLASTER=A220 I5 D1 T4I am not sure if I needed to take out the spaces in the dircmd string, but why take the chance. It finally works!
Thanks for the help, anyway.Chris

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |