Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook 2000 Folder List 1

Status
Not open for further replies.

baltman

Technical User
Mar 5, 2002
1,578
US
How can I locate where Outlook 2000 SP2 stores my folder list (linked pst files) so that I can transfer them from one profile to another?

Thanks,
Brian
 
Hi baltman,

In your folder tree, you can right-click the folder called "Outlook Today - [Personal Folders]" and then choose
properties, advanced.

This should list the path to your PST.



Remember- It's nice to be important,
but it's important to be nice :)
 
My profile was re-created and I had over 100 pst files linked in my "Folder List" in my old profile (still available) and I would prefer not to have to re-link them all manually one at a time...

All pst files I want in the folder list are in a single directory, but the interface only seems to allow a single linking at a time. Drag and drop unfortunately doesn't work :(

Thanks,
Brian
 
C:\Documents and Settings\(USERNAME)\Local Settings\Application Data\Microsoft\Outlook\Name.pst

This is the directory where PST files are stored by default although i think you may still have to link them through the programe.
It is also important to know that it makes no difference where the PST is stored once you point outlook to it! so in theory you needn't bother move your files.
Also the Local Settings\Application Data\Microsoft\Outlook\ folders are all hidden so typwe it into the run command.... hope this is of some help to you.
 
Hi baltman,

The data you want are held in the registry, but not in any form which will help you.

I don't know if it would be possible to do anything with code, but for a one-off I suspect it's not worth the effort.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at [url=http://www.vbaexpress.
 
Tony,

I actually routinely migrate among several PCs/Terminal Servers. I have my most up-to-date "Folder List" on one local PC. All are running Win 2000 and Office 2000.

I'd love to be able to read the registry entry/entries on my local PC and them replicate them into some of the other machines I use on a semi-regular basis.

If you could point me at the registry addresses I might be able to wing it from there as coding ist't a major obstacle for me :)

Thanks,
Brian
 
Hi Brian,

On my system (OL2000 on WInXP) they are in ..

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Microsoft Outlook Internet Settings

.. under a series of subkeys with names that make no sense to mortal man. Even if you could extract the names from there I think you would need another method to make use of the list.

If you have acces to the old profiles I think extracting a list from there using code is probably the thing to do. I'll have a little play and post back.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at [url=http://www.vbaexpress.
 
Hi again,

I can't see any way at the moment of getting hold of the locations of PSTs from Outlook itself, but if you can get a list of them (full path and name) in a text file this should open them all for you:

Code:
[blue]Sub OpenPSTs()

Dim ns As NameSpace
Dim fn As String

Set ns = Application.GetNamespace("MAPI")

Open "C:\Documents and Settings\Tony\Desktop\pstlist.txt" For Input As #1

Do Until EOF(1)
    Input #1, fn
    ns.AddStore fn
Loop

Close #1

Set ns = Nothing

End Sub[/blue]

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at [url=http://www.vbaexpress.
 
Thanks Tony,

I do believe I can automate something that would do what I like. I'll need to play around with the object model so that I can figure out how to not add (or remove) existing links.

If I go off of a directory array with a last modified date lookback of X number of days, I can always (re)load my recent folder list.

It would be a lot easier if Outlook would let you save your list to an export file.

Brian
 
Hi Brian,

Wouldn't it just be a whole lot easier if there was an export/import facility! They can provide it for rules and accounts, why ever not for psts? Or even programmatic access to the pst properties would help.

Anyway, I've done a bit of digging and pieced together what I can. Thanks to several web sites (in particular Sue Mosher's site which I find quite hard to navigate but which is full of information) for these details of the guids.

Registry key [blue]HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles[/blue] has a value [blue]DefaultProfile[/blue] which contains the name of the subkey for the current profile.

That subkey has a further subkey [blue]9207f3e0a3b11019908b08002b2a56c2[/blue] which has a binary value [blue]01023d00[/blue]

Split that binary value into chunks of 16 bytes to get subkeys for each of the PSTs (you need to convert the hex values to a string format). Each of those subkeys has a value [blue]001e6700[/blue] with the path and filename of a pst.

The hierarchy doesn't quite end there of course. I think I shall try and write some code for myself (but not this week) to gather the information but I thought you might be interested in what I had found before that.

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at [url=http://www.vbaexpress.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top