Open a folder with File explorer using .bat

匿名 (未验证) 提交于 2019-12-03 02:54:01

问题:

What command should I use to open a specified path at the end of program.

start "c:\Yaya\yoyo\" 

Is not working

回答1:

You can try like this:

%SystemRoot%\explorer.exe "c:\Yaya\yoyo\" 


回答2:

I think it should be this:

explorer c:/Yaya/yoyo 


回答3:

The start command needs blank quotes at the beginning, as it uses the first double quoted phrase as the "Window title"

start "" "c:\Yaya\yoyo\" 


回答4:

Open notepad and type

START C:\Yaya\yoyo\

Save as: filename.BAT



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!