SHOWRES.BAT

Displays resident DOS programs
Requires Ed Schwartz's @.COM program
Also needs ANSI and a recent English DOS
 
@echo off
if '%1=='Loop goto %2
echo.
echo       Resident DOS programs
echo       ---------------------
mem /c|find "(0"|find /v /i "free "|find /v "Upper"|find /v "Adapter">sres.$
set mloc=xxxxxxxx
@@ %0 Loop print<sres.$ 
set mloc=
del sres.$
goto end
:print
set mloc=Low
if '%7=='(0K) set mloc=High
echo       %3 
:: echo (esc)[1A(esc)[16C%5
echo %5
:: echo (esc)[1A(esc)[24C%mloc%
echo %mloc%
:end