Thursday, February 5, 2009

Customizing the Windows Save As dialog

Not Flex related but it's something I've been meaning to get to for a long time: Most of the time when I need to save a file using the standard Windows "Save As" dialog I want it to go in the "Program Files" directory, which means digging through a few layers of directories in the dialog. To save all that digging effort I've added "c:\Program Files" to the list of icons on the left side of the dialog. See this for full details.

The short story is that you have to create a registry key named HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ComDlg32\PlacesBar and add some string values to it for each item you want in the list. The values must be named "Place0", "Place1", etc. each of which contains either a path to the desired directory or a shortcut to it, like "ProgramFiles".

Hey, it'll save me a few seconds here and there...

No comments: