MS Windows Explorer: Difference between revisions
Jump to navigation
Jump to search
(→環境變數) |
m (→環境變數) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 29: | Line 29: | ||
| %SystemRoot%\explorer.exe /n, 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, c:\data || {{Gd}} 開啟c:\data資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄 | ||
|- | |- | ||
| %SystemRoot%\explorer.exe /e, /n, %HOMEPATH%\My Documents || 開啟「我的文件」資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄 | | %SystemRoot%\explorer.exe /e, /n, %HOMEPATH%\My Documents || 開啟「我的文件」資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄 | ||
|} | |} | ||
== 環境變數 == | == 環境變數 == | ||
| Line 42: | Line 41: | ||
|- | |- | ||
| %SystemRoot% 或 %windir% || Windows的安裝目錄,例如c:\windows或 C:\WINNT 。 | | %SystemRoot% 或 %windir% || Windows的安裝目錄,例如c:\windows或 C:\WINNT 。 | ||
* ('''XP''', '''Windows Server 2003''') %windir% 即 c:\windows | |||
* %windir%\fonts 即Windows的字型目錄[http://support.microsoft.com/kb/314960/zh-tw],例如('''XP''') C:\WINDOWS\fonts | * %windir%\fonts 即Windows的字型目錄[http://support.microsoft.com/kb/314960/zh-tw],例如('''XP''') C:\WINDOWS\fonts | ||
* %windir%\network diagnostic\xpnetdiag.exe 即「Windows XP的網路診斷」對應到 C:\WINDOWS\network diagnostic\xpnetdiag.exe | * %windir%\network diagnostic\xpnetdiag.exe 即「Windows XP的網路診斷」對應到 C:\WINDOWS\network diagnostic\xpnetdiag.exe | ||
| Line 57: | Line 57: | ||
| %AppData% || 應用程式資料的儲存目錄,%username% 即 使用者帳號 | | %AppData% || 應用程式資料的儲存目錄,%username% 即 使用者帳號 | ||
* ('''XP''') C:\Documents and Settings\%username%\Application Data | * ('''XP''') C:\Documents and Settings\%username%\Application Data | ||
* ('''Vista''', '''Windows 7''', '''Windows 2008''') C:\Users\%username%\AppData\Roaming | * ('''Vista''', '''Windows 7''', '''Windows 2008''', '''Windows 10''') C:\Users\%username%\AppData\Roaming | ||
|- | |- | ||
| %Temp% 或 %Tmp% || 暫存目錄(user temporary directory) | | %Temp% 或 %Tmp% || 暫存目錄(user temporary directory) | ||
| Line 64: | Line 64: | ||
|- | |- | ||
|} | |} | ||
我的圖片: msn下載圖片的預設儲存位置: %HOMEPATH%\My Documents\My Pictures | |||
== Mac == | |||
* {{kbd | key=<nowiki>${HOME}</nowiki>}} 使用者家目錄 e.g. /Users/Your_Account | |||
| Line 80: | Line 87: | ||
* [http://www.goodman-lai.idv.tw/2005/12/windows-xp.html (賴榮樞)的軟體資訊誌: 漫談Windows XP環境變數] | * [http://www.goodman-lai.idv.tw/2005/12/windows-xp.html (賴榮樞)的軟體資訊誌: 漫談Windows XP環境變數] | ||
* [http://www.goodman-lai.idv.tw/2005/12/windows.html (賴榮樞)的軟體資訊誌: Windows環境變數列表] | * [http://www.goodman-lai.idv.tw/2005/12/windows.html (賴榮樞)的軟體資訊誌: Windows環境變數列表] | ||
* [http://en.wikipedia.org/wiki/Environment_variable Environment variable - Wikipedia, the free encyclopedia] | |||
[[Category:Windows]] [[Category:Tool]] | |||
[[Category:Windows]] | |||
Latest revision as of 01:35, 4 July 2024
Windows檔案總管的捷徑屬性 與 Windows2000/XP環境變數
Windows檔案總管的捷徑屬性[edit]
應用:設定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 | 開啟「我的文件」資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄 |
環境變數[edit]
User為電腦使用者帳號
環境變數 |
說明
|
| %SystemRoot% 或 %windir% | Windows的安裝目錄,例如c:\windows或 C:\WINNT 。
|
| %HOMEPATH% 或 %UserProfile% | 使用者的家目錄(user home directory) ,%username% 即 使用者帳號
|
| %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% | 應用程式資料的儲存目錄,%username% 即 使用者帳號
|
| %Temp% 或 %Tmp% | 暫存目錄(user temporary directory)
|
我的圖片: msn下載圖片的預設儲存位置: %HOMEPATH%\My Documents\My Pictures
Mac[edit]
- ${HOME} 使用者家目錄 e.g. /Users/Your_Account
其他: 瀏覽器暫存檔目錄[edit]
- IE 網頁暫存目錄
- C:\Documents and Settings\User\Local Settings\Temporary Internet Files
- %HOMEPATH%\Local Settings\Temporary Internet Files
- Chrome 瀏覽器暫存檔目錄(XP)
- C:\Documents and Settings\電腦使用者帳號\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache
- %Temp%\..\Application Data\Google\Chrome\User Data\Default\Cache
參考資料:
開啟c:\data資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄