[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
STUB
------------------------------------------------------------------------------
Purpose:
Add a DOS stub to the beginning of the program file
Syntax:
STUB 'filename' | NONE
Example:
STUB 'MYSTUB.EXE'
This command specifies a DOS .EXE file to add to the front of the program
file. This stub is called whenever the program is run under DOS, and will
normally display a warning message and terminate execution of the program.
A small stub program to do just this is automatically added to each Windows
.EXE created by Blinker when no STUB command has been specified.
The PATH environment variable will be searched if the specified file is not
in the current directory.
The keyword NONE causes the .EXE to be created without a stub program, thus
making a slightly smaller executable. However, if the .EXE is run from the
DOS prompt the system will most likely lock up, so this is not advised.
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson