@echo off

rem 删除日志

rd /q/s LOG

rem 终止正在运行的程序

taskkill /f /im WebPascal_x64.exe >nul

rem 启动程序,最小化窗口

Start /min WebPascal_x64.exe

rem 打开chrome浏览器并访问本地地址

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" http://localhost:8833

rem 退出批处理

exit

收集几个常用的批处理指令写法。