Jump to content

Recommended Posts

Posted

Creating convenient access to System Folders

Whenever the Windows shell needs to access a system folder, it uses the CLSID to search the Registry to find the appropriate DLL

or other object.

It then loads the DLL, asks for the right interfaces, and calls the methods of these interfaces to enumerate the contents of the system folder.

; Creating convenient access to System CLSID Folders
; Below are some of the system object CLSID codes and their associated folder names

Const $AdministrativeTools  = "AdministrativeTools.{D20EA4E1-3957-11d2-A40B-0C5020524153}"
Const $Briefcase = "Briefcase.{85BBD920-42A0-1069-A2E4-08002B30309D}"
Const $ControlPanel = "ControlPanel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
Const $Fonts = "Fonts.{D20EA4E1-3957-11d2-A40B-0C5020524152}"
Const $History = "History.{FF393560-C2A7-11CF-BFF4-444553540000}"
Const $Inbox = "Inbox.{00020D75-0000-0000-C000-000000000046}"
Const $MicrosoftNetwork = "MicrosoftNetwork.{00028B00-0000-0000-C000-000000000046}"
Const $MyComputer = "MyComputer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
Const $MyDocuments  = "MyDocuments.{450D8FBA-AD25-11D0-98A8-0800361B1103}"
Const $MyNetworkPlaces = "MyNetworkPlaces.{208D2C60-3AEA-1069-A2D7-08002B30309D}"
Const $NetworkConnections = "NetworkConnections.{7007ACC7-3202-11D1-AAD2-00805FC1270E}"
Const $PrintersAndFaxes = "PrintersAndFaxes.{2227A280-3AEA-1069-A2DE-08002B30309D}"
Const $RecycleBin = "RecycleBin.{645FF040-5081-101B-9F08-00AA002F954E}"
Const $ScannersAndCameras = "ScannersAndCameras.{E211B736-43FD-11D1-9EFB-0000F8757FCD}"
Const $ScheduledTasks = "ScheduledTasks.{D6277990-4C6A-11CF-8D87-00AA0060F5BF}"
Const $TemporaryInternetFiles = "TemporaryInternetFiles.{7BD29E00-76C1-11CF-9DD0-00A0C9034933}"
Const $WebFolders = "WebFolders.{BDEADF00-C265-11D0-BCED-00A0C90AB50F}"


DirCreate(@DesktopCommonDir & "\" & $WebFolders)

You can also name a folder like this "Inbox.{00020D75-0000-0000-C000-000000000046}"

These are just some CLSID's that work but there more.

For anyone who can use it.

Enjoy !!

ptrex

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...