windows批处理(bat脚本) 1.指令是否存在 @echo off cd %~dp0 WHERE /q sqlite3 IF %ERRORLEVEL% NEQ 0 ( echo sqlite3.exe not exist? pause ) 2.