标签: 脚本语言
thumbnail
bat

利用bat重启services服务

Shell @echo off ::关闭回显 sc query |find /i "w32time" >nul2 >nul ::通过sc query 查询服务是否存在 if %errorlevel%……