- 帖子
- 7
- 积分
- 184
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2008-7-10
|
if not exist c:\windows\system32\control.exe goto next
echo %computername%于%date%%time%发现系统存在control.exe程序>>c:\%computername%.txt
@exit
:Next
if not exist c:\windows\system32\mstsc.exe
echo %computername%于%date%%time%发现系统存在mstsc.exe程序>>c:\%computername%.txt
exit
前面一步能执行,不知道为什么后面的就执行不了咯。请高人解答,本人菜鸟不知道错在那里 |
|