Explorer [/n] [/e] [(,)/root,<object>] [/select,<object>]
/n Opens a new single-pane window for the default
selection. This is usually the root of the drive Windows
is installed on. If the window is already open, a
duplicate opens.
/e Opens Windows Explorer in its default vIEw.
/root,<object> Opens a window view of the specifIEd object.
/select,<object> Opens a window view with the specifIEd folder, file or
application selected.
t; LINE-HEIGHT: 150%" twffan="done">Examples:
Example 1: Explorer /select,C:\TestDir\TestApp.exe
Opens a window vIEw with TestApp selected.
Example 2: Explorer /e,/root,C:\TestDir\TestApp.exe
This opens Explorer with C: expanded and TestApp selected.
Example 3: Explorer /root,\\TestSvr\TestShare
Opens a window view of the specifIEd share.
Example 4: Explorer /root,\\TestSvr\TestShare,select,TestApp.exe
Opens a window view of the specifIEd share with TestApp selected.
這樣我們就可以寫個批處理了!