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

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