environment variable..
Results 1 to 3 of 3

Thread: environment variable..

  1. #1
    Registered User
    Join Date
    Sep 2000
    Location
    Maclean, australia
    Posts
    101

    Post environment variable..

    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..

  2. #2
    Registered User MacGyver's Avatar
    Join Date
    Oct 2000
    Location
    Ottawa
    Posts
    4,232

    Post

    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= ?

  3. #3
    Registered User
    Join Date
    Sep 2000
    Location
    Maclean, australia
    Posts
    101

    Post

    many thanks that did it..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •