You can modify the five default quick links in the Open and Save common dialog boxes by performing the following steps:
1. Start a registry editor (e.g., regedit.exe).
2. Navigate to the
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\co
mdlg32 subkey. (If this subkey doesn't exist, select New, Key from the
Edit menu to create it.)
3. From the Edit menu, select New, Key.
4. Enter a name of "Placesbar" without quotes and press Enter.
5. Navigate to the new registry subkey.
You can create five entries
(i.e., Place0, Place1, Place2, Place3, and Place4). Make each entry
either a string value (REG_SZ) entry (for a named folder) or a DWORD
value (REG_DWORD) entry (for a special folder, such as My Documents or
My Network Places).
6. To create a new entry, go to the Edit menu, select New, DWORD
Value or New, String Value (as appropriate), enter a name of Placen
(e.g., Place0, Place4), and press Enter.
7. Double-click the entry and set its REG_SZ "Value data" to a path
and folder name or its REG_DWORD "Value data" to a numeric ID (the
table below shows a partial list of these numeric IDs--the shlobj.h
file, which is part of the platform software development kit (SDK),
defines the full list of special numeric IDs).
8. Close the registry editor.
For example, the registry file below sets the following shortcuts.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Policies\comdlg32\Placesbar]
"Place0"=dword:00000000
"Place1"="c:\"
"Place2"=dword:00000012
"Place3"=dword:00000005
"Place4"="c:\download"
This change will not affect applications within the Microsoft Office
suite but will affect applications, such as Notepad and Microsoft
Paint, that use the Open and Save common dialog boxes. Each new entry
you add will replace one of the default quick links.
ID Pathway
0 Desktop
1 Internet Explorer
2 Start Menu\Programs
3 My Computer\Control Panel
4 My Computer\Printers
5 My Documents
6 \Favorites
7 Start Menu\Programs\Startup
8 \Recent
9 \SendTo
a \Recycle Bin
b \Start Menu
c Logical "My Documents" desktop icon
d "My Music" folder
e "My Videos" folder
10 \Desktop
11 My Computer
12 Network Neighborhood (My Network Places)
13 \Nethood
14 Windows\Fonts
16 All Users\Start Menu
17 All Users\Start Menu\Programs
18 All Users\Startup
19 All Users\Desktop
1a \Application Data
1b \PrintHood
1c \Local Settings\Application Data
(nonroaming) 0x001d // nonlocalized startup
1e Nonlocalized common startup
1f Common favorites
20 Internet cache
21 Cookies
22 History
23 All Users\Application Data
24 GetWindowsDirectory()
25 GetSystemDirectory()
26 C:\Program Files
27 C:\Program Files\My Pictures
28 USERPROFILE
29 x86 system directory on RISC
2a x86 C:\Program Files on RISC
2b C:\Program Files\Common
2c x86 Program Files\Common on RISC
2d All Users\Templates
2e All Users\Documents
2f All Users\Start Menu\Programs\Administrative Tools
30 \Start Menu\Programs\Administrative Tools
31 Network and Dial-up Connections
35 All Users\My Music
36 All Users\My Pictures
37 All Users\My Video
38 Resource Directory
39 Localized Resource Directory
3a All Users OEM-specific applications
3b USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning
Source put together by Insane www.winnetmag.com/Article/ArticleID/21539/21539.html |