Dec 052017
 
This is a simple little hack to make a Windows program load Windows instead of just printing "This program requires Windows to run".
File AUTOSTUB.ZIP from The Programmer’s Corner in
Category Windows 3.X Files
This is a simple little hack to make a Windows program load Windows instead of just printing “This program requires Windows to run”.
File Name File Size Zip Size Zip Type
AUTOSTUB.ASM 4801 2046 deflated
AUTOSTUB.EXE 968 232 deflated
README 1203 530 deflated

Download File AUTOSTUB.ZIP Here

Contents of the README file


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.


 December 5, 2017  Add comments

Leave a Reply