我应该使用什么命令在程序结束时打开指定的路径。
start "c:\Yaya\yoyo\"
不工作
你可以这样尝试:
%SystemRoot%\explorer.exe "c:\Yaya\yoyo\"
开始命令需要blank quotes
在开始,因为它使用第一个双引号短语作为"Window title"
start "" "c:\Yaya\yoyo\"
我认为应该是这样的:
explorer c:/Yaya/yoyo
这里有两个打开文件夹的示例,一个在位置,另一个在父目录中选择文件夹。
:: Open an Explorer window with the 'temp' folder displayed and its parent hidden:
Explorer.exe /e,/root,"%temp%"
:: This one will open the parent directory and automatically select the 'temp' folder:
Explorer.exe /select,"%temp%"
:: See more examples here: s://ss64/nt/explorer.html
查看更多示例:s://ss64/nt/explorer.html
本站系公益性非盈利分享网址,本文来自用户投稿,不代表边看边学立场,如若转载,请注明出处
评论列表(30条)