程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> .NET網頁編程 >> .NET實例教程 >> windows Explorer技巧 命令行用法

windows Explorer技巧 命令行用法

編輯:.NET實例教程
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.

這樣我們就可以寫個批處理了!



  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved