bat start 调用的命令中包含空格
目录
测试环境:
命令
d:\xxx yyy\AutoHotkey64.exe
命令参数
d:\xxx yyy\startup.ahk
1 测试 1
start "d:\xxx yyy\AutoHotkey64.exe" "d:\xxx yyy\startup.ahk"
提示不知道用哪个程序打开 startup.ahk
2 测试 2
start d:\"xxx yyy"\AutoHotkey64.exe d:\"xxx yyy"\startup.ahk
提示找不到 d:"xxx
3 测试 3
start d:\"xxx yyy"\AutoHotkey64.exe "d:\xxx yyy\startup.ahk"
成功运行