home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
pcmag
/
v14n05
/
envuse.bat
< prev
next >
Wrap
DOS Batch File
|
1994-11-08
|
414b
|
14 lines
@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