Category : Files from Magazines
Archive   : V14N05.ZIP
Filename : ENVUSE.BAT

 
Output of file : ENVUSE.BAT contained in archive : V14N05.ZIP

@ECHO OFF
REM ENVUSE.BAT - check amount of environment in use
IF '%1'=='$$$' GOTO Report
REM The temporary file *MUST* have the same file name
REM as this batch file, but a different extension
SET > ENVUSE.$$$
DIR ENVUSE.$$$ | FIND "ENVUSE $$$" > TEMPENVU.BAT
TEMPENVU
:==== Report ====
ECHO Bytes of environment in use: %2 plus 1 minus
TYPE ENVUSE.$$$ | FIND /C "="
DEL ENVUSE.$$$
DEL TEMPENVU.BAT