Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 16, 2002

How can I edit the default Places bar quick links in Windows XP's and Windows 2000's Open and Save common dialog boxes?

RSS
Subscribe to Windows IT Pro | See More Configuration Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. 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\comdlg32 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 and press Enter.
  5. Navigate to the new registry subkey. You can create five entries (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 shortcuts to My Documents, the CD burning folder, and three named folders.

 Windows Registry Editor Version 5.00

 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion Policies\comdlg32\Placesbar]
 "Place0"=dword:00000005
 "Place1"=dword:0000003b
 "Place2"="d:\\temp"
 "Place3"="d:\\documents"
 "Place4"="g:\\windows" 

This change will not affect applications within the Microsoft Office suite but will affect applications, such as Notepad and Paint, that use the Open and Save common dialog boxes. Each new entry you add will replace one of the default quick links.

0 Desktop
1 Internet Explorer
2 Start Menu\Programs
3 My Computer\Control Panel
4 My Computer\Printers
5 My Documents
6 <user name>\Favorites
7 Start Menu\Programs\Startup
8 <user name>\Recent
9 <user name>\SendTo
a <desktop>\Recycle Bin
b <user name>\Start Menu
c logical "My Documents" desktop icon
d "My Music" folder
e "My Videos" folder
10 <user name>\Desktop
11 My Computer
12 Network Neighborhood (My Network Places)
13 <user name>\nethood
14 Windows\Fonts
16 All Users\Start Menu
17 All Users\Start Menu\Programs
18 All Users\Startup
19 All Users\Desktop
1a <user name>\Application Data
1b <user name>\PrintHood
1c <user name>\Local Settings\Applicaiton 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 <user name>\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 Links to All Users OEM specific apps
3b USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning

End of Article



Reader Comments
nice try.. but this tip didn't work on my (french) XP

Denis July 29, 2003


This made no difference for me. I am using WinXP Pro. The folders on the bar are the same as before. Do I need to reboot?

Elie June 14, 2004


Worked like a charm on my XP Pro and no, I didn't need to reboot or even close my sessions of IE to see the results. Make sure you're in the correct key and don't do the "\\" when you're entering the path you want. It does it automatically when you export it and edit it. When you're putting it into RedEdit, just enter the path normally.

lordkinbote July 12, 2004 (Article Rating: )


This tip worked flawlessly for me with Windows 2000.

I suspect some users are having problems because they are copy'n'pasting the sample registry file as a template. There's a typo in the path of the sample, between the words "CurrentVersion" and "Policies." A slash (\) was mistakenly entered as a space ( ), thus setting the values in the wrong place.

1of10 July 31, 2004 (Article Rating: )


Is it possible to reduce the icon size? I found out that this is possible in Office but haven't found out how to do it in for the Windows common dialog.

Anonymous User October 19, 2004 (Article Rating: )


The there is a type mistake in the example registry file above - there should be a slash between CurrentVersion and Policies so the key reads:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion Policies\comdlg32\Placesbar]
Worked first time for me on WX Pro Dansih version.


Anonymous User December 01, 2004 (Article Rating: )


Sorry, I copied the mistake it should read:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\Placesbar]



Anonymous User December 01, 2004


is this possible to do for microsoft office???

Anonymous User December 07, 2004 (Article Rating: )


In Office, it's much easier. Just open a Save As dialog box, explore to the directory you want to put in there and click on the folder. Then go to the top of the dialog box and there should be a "Tools" selection. Under that, do "Add to My Places" and there it will be.

lordkinbote December 26, 2004 (Article Rating: )


if youre dumb, you shouldnt be doing this in the first place, hence you should be able to make it work. RegEdit was not made for dumb people, if it was, it would probably be placed on your desktop when you first install windows. if you ever do anything wrong in the registry, chances are great that you either have to reinstall windows, or (if your lucky) boot into safe mode and hope to god you made a backup before you started messing with it.

in conclusion, if you cannot do this properly, do not do it at all, the chances are FAR too great you are gonna mess something up.

Anonymous User February 06, 2005


 See More Comments  1   2 

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Events WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement