写一个开机自定义启动应用的bat脚本,记录基本语法
# 开机启动软件 windows应用,脚本保存.bat文件
@echo off
:: echo on
:: activate exes
echo outlook start
tasklist|findstr /i/c:"outlook.exe"
if %errorlevel%==0(
echo outlook started.
)else(start "path\outlook.exe"
)
taskkill /f /im chrome.exe
start chrome url
start /d "path" pycharm64.exe
pause > null