View Single Post
  #4  
Old October 11th 06, 04:12 PM posted to microsoft.public.outlook
DL
external usenet poster
 
Posts: 1,972
Default Default PST File from registry info

It would not be best practice to hard code any location in an application

"Alpha" wrote in message
ups.com...
Lately I've been trying to make a little software tool that would back
up several information, on wich PST files are included.

I know I may find cases on which there could be more than one profile
and each of them having one or more .pst files.

I searched everywhere but couldn't find some certain info on where the
information about .pst files is stored.

However, I found this vague information:

There's a registry key in HKCU\Software\Microsoft\Windows Messaging
Subsystem\Profiles

There is a key value named "Default Profile" with the name of the
default profile (d'oh!) and also there's subkeys to each of the
profiles.

So, in HKCU\Software\Microsoft\Windows Messaging
Subsystem\Profiles\profileName\ I would find some info on the profile
settings. There's a subkey named 9207f3e0a3b11019908b08002b2a56c2, in
which more CLSIDs are named, each one of them with different info (such
as Personal Folders, Address Files, Account Info and such).

But how do I know what's the exact name on which the location of the
pst file is/are located? I could find that one on my PC, but nothing
guarantees me it'll be the same on another PC.

Thanks in advance, and please forgive me for my poor english.-



Ads
 

Cheap Car Insurance - Buy Anything On eBay - Xbox Mod Chip - Internet Advertising - Debt Loans