ptrex Posted March 9, 2007 Share Posted March 9, 2007 Creating convenient access to System FoldersWhenever the Windows shell needs to access a system folder, it uses the CLSID to search the Registry to find the appropriate DLLor 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 Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now