@echo off
rem
rem 	RESMON Ressourcenmonitoring ueber Funktionsgruppen eines
rem 	gesamten Programmstands auf c:\me71\fest\...
rem 	Adresslayout fuer ME7.1 C-Muster
rem 	Aufruf resmon <pst>  z.B. resmon X15622n1
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

@echo on
del moduls.txt
%2
cd %2\me71\fest\%3
n:\programme\diverses\resmon_c -find[*.c;*.a66;*.mcc] -omoduls.txt
copy moduls.txt %1\Esi4\Dokumentation\Resmon\Me71
%1
cd %1\Esi4\Dokumentation\Resmon\Me71
copy %2\me71\fest\%3\progst\progst.dbm %3.dbm
N:\programme\diverses\resmon_c %3.dbm %2\me71\fest\%3\outabgab\ hw.txt -excel moduls.txt
del %3.DBM
ren ERGEBNIS.TXT %3_grp.txt
md %1\Esi4\Dokumentation\Resmon\Me71\%3
copy %3_grp.txt %1\Esi4\Dokumentation\Resmon\Me71\%3
del %3_grp.txt 
:END
