AUTOSTUB Version 1.2 Copyright (C) 1992 Steve Flynn ------------------------------------------------------------------------------- Version 1.2 corrects a runaway problem when WINDIR= is the last entry in the environment. ------------------------------------------------------------------------------- Version 1.1 corrects the problem in version 1.0 of incorrect path generation when the WINDIR= environment variable is not set. ------------------------------------------------------------------------------- This is a simple little hack to make a Windows program load Windows instead of just printing "This program requires Windows to run" or "This program can not be run in DOS mode" or something equally as useful. The source is included and is self explanatory except that you should set an environment variable to allow the windows directory to be located (you should do this even if you dont use AUTOSTUB.EXE). Do this by adding the line set WINDIR=c:\windows (or where ever your windows lives) to your AUTOEXEC.BAT file. By default, if WINDIR= is set in the environment, a path of "\WINDOWS" is assumed. Thats all folks. Enjoy, Steve Flynn.