菜鸟回答- if not exist c:\windows\system32\control.exe goto next
- echo %computername%于%date%%time%发现系统存在control.exe程序>>c:\%computername%.txt
- @exit
-
- :Next
- REM 这里加个exit试试
- if not exist c:\windows\system32\mstsc.exe exit
- echo %computername%于%date%%time%发现系统存在mstsc.exe程序>>c:\%computername%.txt
- exit
复制代码
|