bat open a folder

Open the folder

I want to create bat file directly from the desktop to open a folder

Step one: Create a .bat file on the desktop

Step two: start below "" "c: \ windows" or start explorer "c: \ windows" .bat file you just created is written, one of them c: \ windows is the folder path

Step 3: Click the file you just created to enter file written folder.

 

Attachment: open other file suffixes

start "" "c:\windows"或
start explorer "c:\windows"

 

Open call Word .doc file

start "" "c:\test.doc"或

start winword "c:\test.doc"

 

Call Notepad to open the .txt file

start "" "c:\test.txt"或

start notepad "c:\test.txt"

Published 49 original articles · won praise 6 · views 40000 +

Guess you like

Origin blog.csdn.net/cmj8043719242/article/details/103384420