ID: Q25321
1.00 2.01 3.00 3.10 3.20 | 1.00 2.01 3.00
MS-DOS | OS/2
kbtool
The information in this article applies to:
The EXEHDR and EXEMOD utilities can be used to change the stack size of a program. EXEMOD is an older utility that runs only under MS-DOS.
To view the current size of the stack, no options are used. Both EXEHDR and EXEMOD will produce a table of information with a line such as the following:
Initial stack location: 0000:0800
The offset portion of this line gives the current stack size in
hexadecimal notation. In this example, the stack size is set at 2K. If
you wanted to change it to 4K, you could use the /STACK option of
EXEHDR or EXEMOD in the following way:
EXEHDR /STACK:0x1000 file
-or-
EXEMOD file /STACK 1000
Additonal reference words: 1.00 3.00 3.10 3.20
KBCategory: kbtool
KBSubcategory: TlsMisc
Keywords : kb16bitonly
Last Reviewed: July 18, 1997