@echo off
rem
rem 	RESMON Ressourcenmonitoring ueber Funktionsgruppen eines
rem 	gesamten Programmstands auf c:\me711\fest\...
rem 	Adresslayout fuer ME7.1 C-Muster
rem 	Aufruf resmon <pst>  z.B. resmon_me711 f: c: VA11 053 24d9
rem	Ausgabedatei <pst>_grp.txt
rem 
rem K3/EEV3 Gm 15.08.97
rem K3/EEV3 Ls 10.11.98
rem K3/ESI4 Mz 19.09.00
rem 
IF %1.==/?.                   GOTO END
IF %1.==.                     GOTO END
IF %2.==/?.                   GOTO END
IF %2.==.                     GOTO END
IF %3.==/?.                   GOTO END
IF %3.==.                     GOTO END
IF %4.==/?.                   GOTO END
IF %4.==.                     GOTO END
IF %5.==/?.                   GOTO END
IF %5.==.                     GOTO END


@echo on
del moduls.txt
%2
cd %2\me711\fest\%4\%5
n:\programme\diverses\resmon_c -find[*.c;*.a66;*.mcc] -omoduls.txt
copy moduls.txt %1\Esi4\Dokumentation\Resmon\Me711
%1
cd %1\Esi4\Dokumentation\Resmon\Me711
copy %2\me711\fest\%4\%5\progst\progst.dbm %3%4%5.dbm
N:\programme\diverses\resmon_c %3%4%5.dbm %2\me711\fest\%4\%5\outabgab\ hw.txt -excel moduls.txt
del %3%4%5.DBM
ren ERGEBNIS.TXT %3%4%5_grp.txt
md %1\Esi4\Dokumentation\Resmon\Me711\%4\%5
copy %3%4%5_grp.txt %1\Esi4\Dokumentation\Resmon\Me711\%4\%5
del %3%4%5_grp.txt 
:END
