Click to See Complete Forum and Search --> : environment variable..


DNA
November 13th, 2001, 03:55 AM
This is real basic - but i have lost the plot somewhere.

Running this game in dos mode but the dreaded environment variable not set.. keeps popping up, even though i have tried to configure the autoexec and config files. Would a simple batch file do the job. I must be missing something simple.
thanks..

MacGyver
November 13th, 2001, 08:25 AM
You can't re-configure the autoexec.bat and config.sys files for DOS mode since Windows renames those files before rebooting into DOS mode!

What you have to do is create a shortcut to your DOS based program. Once you have done that, right click on the shortcut and select properties, then go to the Program tab, then click on the advanced button. In this dialog, you can create custom autoexec.bat and config.sys files for use with this one program. When you double click on this icon, Windows renames your existing config.sys and autoexec.bat files and replaces them with the data you entered into the shortcut. Then it reboots, you can run your program, and on the next boot, the original autoexec.bat and config.sys files are returned to their previous state.

If that's too complicated, you can create a boot disk with the stuff on it.

BTW, what variable do you need, SET BLASTER= ?

DNA
November 15th, 2001, 01:35 AM
many thanks that did it..