MS Windows Explorer: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Windows檔案總管
<< [[Boot up Tasks]]


應用:設定Windows檔案總管捷徑的「目標」屬性([http://wiki.planetoid.info/index.php/%E5%9C%96%E5%83%8F:MS_Windows_Explorer.png 圖例]),然後將該捷徑放到「啟動」,那麼開機時就會自動開啟指定的資料夾
Windows檔案總管的捷徑屬性 與 Windows2000/XP環境變數
 
== Windows檔案總管的捷徑屬性 ==
應用:設定Windows檔案總管捷徑的「目標」屬性,然後將該捷徑放到「啟動」,那麼開機時就會自動開啟指定的資料夾


  %SystemRoot%\explorer.exe /e, /n, 資料夾路徑
  %SystemRoot%\explorer.exe /e, /n, 資料夾路徑
Line 26: 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 || 開啟「我的文件」資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄
|}
|}


== 環境變數 ==
User為電腦使用者帳號


{| border="1"
{| border="1"
| <div style="background:#E0EDEE">環境變數</div> || <div style="background:#E0EDEE">說明</div>
| <div style="background:#E0EDEE">環境變數</div> || <div style="background:#E0EDEE">說明</div>
|-
|-
| %SystemRoot% || 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%\network diagnostic\xpnetdiag.exe 即「Windows XP的網路診斷」對應到 C:\WINDOWS\network diagnostic\xpnetdiag.exe
|-
|-
| %HOMEPATH% 或 %UserProfile% || 使用者的家目錄 C:\Documents and Settings\User
| %HOMEPATH% 或 %UserProfile% || 使用者的家目錄(user home directory) ,%username% 即 使用者帳號
* ('''XP''') C:\Documents and Settings\%username%
* ('''Vista''', '''Windows 7''', '''Windows 2008''') C:\Users\%username%
|-
|-
| %HOMEPATH%\My Documents || 我的文件 C:\Documents and Settings\User\My Documents
| %HOMEPATH%\My Documents || 我的文件 C:\Documents and Settings\User\My Documents
Line 45: Line 55:
| %HOMEPATH%\SendTo || 傳送到... C:\Documents and Settings\User\SendTo
| %HOMEPATH%\SendTo || 傳送到... C:\Documents and Settings\User\SendTo
|-
|-
| %Temp% || 暫存目錄 C:\Documents and Settings\User\Local Settings\Temp
| %AppData% || 應用程式資料的儲存目錄,%username% 即 使用者帳號
* ('''XP''') C:\Documents and Settings\%username%\Application Data
* ('''Vista''', '''Windows 7''', '''Windows 2008''', '''Windows 10''') C:\Users\%username%\AppData\Roaming
|-
| %Temp% 或 %Tmp% || 暫存目錄(user temporary directory)
* 使用者變數  %USERPROFILE%\Local Settings\Temp ->  C:\Documents and Settings\User\Local Settings\Temp
* 系統變數 %SystemRoot%\TEMP -> C:\Windows\Temp
|-
|}
|}
我的圖片: msn下載圖片的預設儲存位置: %HOMEPATH%\My Documents\My Pictures
== Mac ==
* {{kbd | key=<nowiki>${HOME}</nowiki>}} 使用者家目錄 e.g. /Users/Your_Account
=== 其他: 瀏覽器暫存檔目錄 ===
* {{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


參考資料:
參考資料:
* [http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/5ae36d5d-cb29-49ae-a379-a8be0dde0abc Accessing "Application Data" in Windows 7.]
* [http://www.theeldergeek.com/start_explorer_in_c_drive.htm Start Windows Explorer In The C Drive]
* [http://www.theeldergeek.com/start_explorer_in_c_drive.htm Start Windows Explorer In The C Drive]
* [http://wiki.moztw.org/index.php/%E8%A8%AD%E5%AE%9A%E6%AA%94%E8%A9%B3%E8%A7%A3#Location:Windows_2000.2FXP Mozilla 相關產品的『設定檔』詳解]
* [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://en.wikipedia.org/wiki/Environment_variable Environment variable - Wikipedia, the free encyclopedia]
[[Category:Windows]] [[Category:Tool]]

Latest revision as of 01:35, 4 July 2024

<< Boot up Tasks

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 Good.gif 開啟c:\data資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄
%SystemRoot%\explorer.exe /e, /n, %HOMEPATH%\My Documents 開啟「我的文件」資料夾,左方顯示「資料夾」窗格,並且自動展開顯示子目錄

環境變數[edit]

User為電腦使用者帳號

環境變數
說明
%SystemRoot% 或 %windir% Windows的安裝目錄,例如c:\windows或 C:\WINNT 。
  • (XP, Windows Server 2003) %windir% 即 c:\windows
  • %windir%\fonts 即Windows的字型目錄[1],例如(XP) C:\WINDOWS\fonts
  • %windir%\network diagnostic\xpnetdiag.exe 即「Windows XP的網路診斷」對應到 C:\WINDOWS\network diagnostic\xpnetdiag.exe
%HOMEPATH% 或 %UserProfile% 使用者的家目錄(user home directory) ,%username% 即 使用者帳號
  • (XP) C:\Documents and Settings\%username%
  • (Vista, Windows 7, Windows 2008) C:\Users\%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% 即 使用者帳號
  • (XP) C:\Documents and Settings\%username%\Application Data
  • (Vista, Windows 7, Windows 2008, Windows 10) C:\Users\%username%\AppData\Roaming
%Temp% 或 %Tmp% 暫存目錄(user temporary directory)
  • 使用者變數 %USERPROFILE%\Local Settings\Temp -> C:\Documents and Settings\User\Local Settings\Temp 或
  • 系統變數 %SystemRoot%\TEMP -> C:\Windows\Temp


我的圖片: msn下載圖片的預設儲存位置: %HOMEPATH%\My Documents\My Pictures


Mac[edit]

  • ${HOME} 使用者家目錄 e.g. /Users/Your_Account


其他: 瀏覽器暫存檔目錄[edit]

  • IE Browser msie.png 網頁暫存目錄
    • C:\Documents and Settings\User\Local Settings\Temporary Internet Files
    • %HOMEPATH%\Local Settings\Temporary Internet Files
  • Chrome Browser chrome.png 瀏覽器暫存檔目錄(XP)
    • C:\Documents and Settings\電腦使用者帳號\Local Settings\Application Data\Google\Chrome\User Data\Default\Cache
    • %Temp%\..\Application Data\Google\Chrome\User Data\Default\Cache

參考資料: