Shell Folders Unit



This unit provides various components, classes and routines for handling Windows shell folders. It contains:


The unit is compatible with Delphi 3 to 7. It has been tested in Delphi 4, 6 and 7.


In these instructions $(DELPHI) is to be taken to represent the path where the appropriate version of Delphi was installed. For example, if you have Delphi 4 installed on the default installation path then $(DELPHI) is equivalent to C:\Program Files\Borland\Delphi4.

Installation with Delphi 3 to 7

  1. Unzip the file into a folder.
  2. Copy the files PJShellFolders.pas, PJShellFolders.dcr and PJShellFoldersDsgn.pas to where you wish to install into Delphi. This will probably be a sub-folder of the $(DELPHI)\lib folder.
  3. Install the unit's components and property editor into the palette by chosing the Component | Install Component menu option to display the Install Component dialog box. Then:
  4. You can now delete PJShellFolders.pas and PJShellFoldersDsgn.pas from the place where you copied it if you wish (but ensure that the .dcu files are not deleted). The components will appear on a palette called DelphiDabbler. The other code in the unit can be made available simply by use-ing the unit in your projects. You can move the components to a different palette as required.
  5. The simplest way to install the help file is to use my Component Help Installer Expert. To install manually, proceed as follows:

Known Issues

No bugs reported to date.

Update History

Release 1.0 of 06/04/2001
PJShellFolders v1.0 of 01/04/2001

Release 2.0 of 15/06/2003
PJShellFolders v2.0 of 15/06/2003

License & Disclaimer

This unit and help file are copyright © P.D.Johnson, 2001.

The source code and help files can be freely distributed on a not-for-profit basis providing that:

  1. the source code is not altered.
  2. this file is distributed with it unchanged

By not-for-profit I mean that you may recover out of pocket expenses incurred in distributing the code, but should not make a profit from this.

If you discover any bugs in this implementation, or if you have any update suggestions, please contact me via my website.

Please do modify the code for you own use. I'd like to see any changes you make - I could incorporate them into future versions. Please notify me of changes on at the above e-mail address.

This software is provided as is - no warranty is given as to its suitability for any purposes to which you may wish to put it.

About the Author

I'm Peter Johnson - a hobbyist programmer living in Ceredigion in West Wales, UK. I write mainly in Delphi. My programs are available for download on my web-site:

I can be contacted via the website.