kok*_*ira 5 windows-7 command-line batch-file
我想在 Windows 7 上使用 bat 文件创建一些可执行文件(exe、bat、com...)的快捷方式,但我遇到了一些麻烦:
start notepad.exe
工作完美,但start Foxit Reader.exe
或start "Foxit Reader.exe"
不会起作用。如何对start
以空格字符命名的文件使用命令?
call notepad.exe
orstart "Foxit Reader.exe"
或 just notepad.exe
or"Foxit Reader.exe"
有效,但命令提示符已打开并保持打开状态,直到用户关闭它或调用可执行文件。有什么办法可以避免吗?
start
仔细阅读帮助。并且start
默认情况下不等待启动的进程终止(/wait
“等待”模式有标志)。
start "" "Foxit Reader.exe"
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
17782 次 |
最近记录: |