Link to home
Start Free TrialLog in
Avatar of kenshaw
kenshaw

asked on

how do I find the path to the outlook profile PSTs from VB

outlook creates user profiles on a compute r- and within a user profile is usually specified a several PST files

from within VB - how would I identify the list of outlook profiles - and the paths to the PSTs associated with each outlook profile?
ASKER CERTIFIED SOLUTION
Avatar of vinnyd79
vinnyd79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kenshaw
kenshaw

ASKER

will that work on all platforms?

win 98?  or just win nt?
It will work on all NT based systems and could possibly work on Win98 if there are multiple profiles set up on it. I don't have win98 here to test with.
Avatar of kenshaw

ASKER

actually - i've just run this code - and that doesn't give me the path to the PSTs - it just gives me the path to the different profile directories
It should give you the path to the PST's as the code is only looking for pst files.
The code looks for the pst files in the User Profile's directories. Could there be pst files outside of the user profiles? If so,you might want to search the entire drive for pst files instead.