MS Windows Explorer
Jump to navigation
Jump to search
Windows檔案總管的捷徑屬性 與 Windows2000/XP環境變數
Windows檔案總管的捷徑屬性
應用:設定Windows檔案總管捷徑的「目標」屬性,然後將該捷徑放到「啟動」,那麼開機時就會自動開啟指定的資料夾
%SystemRoot%\explorer.exe /e, /n, 資料夾路徑
捷徑屬性:「目標」設定的字串 |
說明
|
%SystemRoot%\explorer.exe /e,/select,c: | 開啟「我的電腦」資料夾,其中C槽是點選狀態 |
%SystemRoot%\explorer.exe /e,/n,/select,/root,c: | 開啟「桌面」資料夾 |
%SystemRoot%\explorer.exe /e,/root,%systemroot% | 開啟「系統跟目錄」資料夾(例如c:\windows或 C:\WINNT),並且自動展開顯示子目錄 |
%SystemRoot%\explorer.exe %systemroot%, | 開啟「我的電腦」資料夾 |
%SystemRoot%\explorer.exe %systemroot%,/select, | 開啟「我的電腦」資料夾,其中「我的電腦」是點選狀態 |
%SystemRoot%\explorer.exe /e, | 開啟「我的電腦」資料夾,並在左方顯示「資料夾」窗格 |
%SystemRoot%\explorer.exe /e,/select, | 開啟「我的電腦」資料夾,並在左方顯示「資料夾」窗格,其中「我的電腦」是點選狀態 |
%SystemRoot%\explorer.exe /e,/select, c:\data | 開啟c:\的資料夾,並在左方顯示「資料夾」窗格,其中data資料夾是點選狀態 |
%SystemRoot%\explorer.exe /n, c:\data | 開啟c:\data資料夾的單一視窗 |
%SystemRoot%\explorer.exe /e, /n, c:\data | 開啟c:\data資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄 |
%SystemRoot%\explorer.exe /e, /n, %HOMEPATH%\My Documents | 開啟「我的文件」資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄 |
環境變數
User為電腦使用者帳號
環境變數 |
說明
|
%SystemRoot% 或 %windir% | Windows的安裝目錄,例如c:\windows或 C:\WINNT |
%HOMEPATH% 或 %UserProfile% | 使用者的家目錄(user home directory) C:\Documents and Settings\User |
%HOMEPATH%\My Documents | 我的文件 C:\Documents and Settings\User\My Documents |
%HOMEPATH%\Favorites | 我的最愛 C:\Documents and Settings\User\Favorites |
%HOMEPATH%\SendTo | 傳送到... C:\Documents and Settings\User\SendTo |
%AppData% | 應用程式資料的儲存目錄 C:\Documents and Settings\User\Application Data |
%Temp% 或 %Tmp% | 暫存目錄(user temporary directory) C:\Documents and Settings\User\Local Settings\Temp 或 C:\Windows\Temp |
%HOMEPATH%\Local Settings\Temporary Internet Files | 網頁暫存目錄 C:\Documents and Settings\User\Local Settings\Temporary Internet Files |
參考資料: