【技巧】使用批处理、Bat 查找指定名字的进程

admin 2021年4月3日18:58:01评论31 views字数 550阅读1分50秒阅读模式

使用批处理、Bat查找指定名字的进程:

echo off
del /q /f /a tasklist.txt
del /q /f /a find.txt
tasklist>>tasklist.txt
find /i "qq.exe" tasklist.txt>>find.txt
echo %errorlevel%
if %errorlevel%==1 goto next
cls
echo msgbox "指定进程存在",64,"inf">>mes.vbs
call mes.vbs
del /q /f /a mes.vbs
goto end
:next
cls
echo msgbox "指定进程不存在",64,"inf">>mes.vbs
call mes.vbs
del /q /f /a mes.vbs
:end
del /q /f /a tasklist.txt
del /q /f /a find.txt

    菜鸟级的东西,很简单的用法。。。不费话了。。。

    使用批处理、Bat查找指定名字的进程,使用批处理查找指定名字的进程,使用Bat查找指定名字的进程,使用批处理查找指定名字进程,使用Bat查找指定名字进程,使用批处理查找指定进程,使用Bat查找指定进程,使用批处理查找进程,使用Bat查找进程,批处理查找进程,Bat查找进程。

文章来源于lcx.cc:【技巧】使用批处理、Bat 查找指定名字的进程

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年4月3日18:58:01
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   【技巧】使用批处理、Bat 查找指定名字的进程http://cn-sec.com/archives/319410.html

发表评论

匿名网友 填写信息