naja vielleicht so:
set gefunden=N
find "hallo" *.txt
if %ERRORLEVEL% == 0 set GEFUNDEN=J
find "dings" *.dat
if %ERRORLEVEL% == 0 set GEFUNDEN=J
if %GEFUNDEN% == J (
net send USER1 "gefunden"
)
____________________________________
religion is a virus from outer space
|