determining the location of the outlook PAB file 
Author Message
 determining the location of the outlook PAB file

I am trying to determine the location of the MS outlook 97/2000 PAB file and
then back it up in a VB script.

I know how I want to do this once I can find the file, but I'd like to know
where win 95/98 stores the location of this file and read it from there.  In
the enviornment that I am working in the file can potentially be located
anywhere and named anything.

Thanks for all your help,
Matt



Sun, 22 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
Search the registry for ".pab" (data only).  On my NT box with Outlook 98, there is a *very* ugly
registry key

HKEY_CURRENT_USER
\Software
\Microsoft
\Windows NT
\CurrentVersion
\Windows Messaging Subsystem
\Profiles
\<mail profile display name here>
\75bac16ccdeed211a5500010e37c63c8

and a named value of "001e6600" with the value

C:\WINNT\Profiles\<username here>\Application Data\Microsoft\Outlook\mailbox.pab

which is the default location.  I have only the one profile, but ...

Good luck !!!

--
Michael Harris
MVP Scripting


I am trying to determine the location of the MS outlook 97/2000 PAB file and
then back it up in a VB script.

I know how I want to do this once I can find the file, but I'd like to know
where win 95/98 stores the location of this file and read it from there.  In
the enviornment that I am working in the file can potentially be located
anywhere and named anything.

Thanks for all your help,
Matt



Sun, 22 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
On my Win98 box with Outlook 2000...

HKEY_CURRENT_USER
\Software
\Microsoft
\Windows Messaging Subsystem
\Profiles
\<mail profile name>
\6efe233a78b8d311a82a00e02948e7d6

same named value of "001e6600" with the value

C:\WINDOWS\Application Data\Microsoft\Outlook\<arbitrary of my choosing>.pab

but of the 4 total mail profiles on the Win98 box two have the last node in the key as

\0e9e2607568cbe11911b823d75a0b8c5

and the 4th has

\36f02c81548cbe11911b823d75a0b8c5

So my guess that there must there must be another key or named value (hopefully with a common name)
within each profile that "points" to these.

You can do what I've been doing - just snoop with regedit.

--
Michael Harris
MVP Scripting


What about in 95/98?


Quote:
> Search the registry for ".pab" (data only).  On my NT box with Outlook 98,

there is a *very* ugly
Quote:
> registry key

> HKEY_CURRENT_USER
> \Software
> \Microsoft
> \Windows NT
> \CurrentVersion
> \Windows Messaging Subsystem
> \Profiles
> \<mail profile display name here>
> \75bac16ccdeed211a5500010e37c63c8

> and a named value of "001e6600" with the value

> C:\WINNT\Profiles\<username here>\Application

Data\Microsoft\Outlook\mailbox.pab
Quote:

> which is the default location.  I have only the one profile, but ...

> Good luck !!!

> --
> Michael Harris
> MVP Scripting



> I am trying to determine the location of the MS outlook 97/2000 PAB file
and
> then back it up in a VB script.

> I know how I want to do this once I can find the file, but I'd like to
know
> where win 95/98 stores the location of this file and read it from there.
In
> the enviornment that I am working in the file can potentially be located
> anywhere and named anything.

> Thanks for all your help,
> Matt




Sun, 22 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
What about in 95/98?


Quote:
> Search the registry for ".pab" (data only).  On my NT box with Outlook 98,

there is a *very* ugly
Quote:
> registry key

> HKEY_CURRENT_USER
> \Software
> \Microsoft
> \Windows NT
> \CurrentVersion
> \Windows Messaging Subsystem
> \Profiles
> \<mail profile display name here>
> \75bac16ccdeed211a5500010e37c63c8

> and a named value of "001e6600" with the value

> C:\WINNT\Profiles\<username here>\Application

Data\Microsoft\Outlook\mailbox.pab
Quote:

> which is the default location.  I have only the one profile, but ...

> Good luck !!!

> --
> Michael Harris
> MVP Scripting



> I am trying to determine the location of the MS outlook 97/2000 PAB file
and
> then back it up in a VB script.

> I know how I want to do this once I can find the file, but I'd like to
know
> where win 95/98 stores the location of this file and read it from there.
In
> the enviornment that I am working in the file can potentially be located
> anywhere and named anything.

> Thanks for all your help,
> Matt




Mon, 23 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
yah, thanks, just confirmed for 95 and 98.  thanks for your help!


Quote:
> On my Win98 box with Outlook 2000...

> HKEY_CURRENT_USER
> \Software
> \Microsoft
> \Windows Messaging Subsystem
> \Profiles
> \<mail profile name>
> \6efe233a78b8d311a82a00e02948e7d6

> same named value of "001e6600" with the value

> C:\WINDOWS\Application Data\Microsoft\Outlook\<arbitrary of my
choosing>.pab

> but of the 4 total mail profiles on the Win98 box two have the last node
in the key as

> \0e9e2607568cbe11911b823d75a0b8c5

> and the 4th has

> \36f02c81548cbe11911b823d75a0b8c5

> So my guess that there must there must be another key or named value

(hopefully with a common name)

- Show quoted text -

Quote:
> within each profile that "points" to these.

> You can do what I've been doing - just snoop with regedit.

> --
> Michael Harris
> MVP Scripting



> What about in 95/98?



> > Search the registry for ".pab" (data only).  On my NT box with Outlook
98,
> there is a *very* ugly
> > registry key

> > HKEY_CURRENT_USER
> > \Software
> > \Microsoft
> > \Windows NT
> > \CurrentVersion
> > \Windows Messaging Subsystem
> > \Profiles
> > \<mail profile display name here>
> > \75bac16ccdeed211a5500010e37c63c8

> > and a named value of "001e6600" with the value

> > C:\WINNT\Profiles\<username here>\Application
> Data\Microsoft\Outlook\mailbox.pab

> > which is the default location.  I have only the one profile, but ...

> > Good luck !!!

> > --
> > Michael Harris
> > MVP Scripting



> > I am trying to determine the location of the MS outlook 97/2000 PAB file
> and
> > then back it up in a VB script.

> > I know how I want to do this once I can find the file, but I'd like to
> know
> > where win 95/98 stores the location of this file and read it from there.
> In
> > the enviornment that I am working in the file can potentially be located
> > anywhere and named anything.

> > Thanks for all your help,
> > Matt




Mon, 23 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
I'm having trouble searching for this string using RegRead.  I keep getting
a type mismatch error.  any ideas?

Here's my code:

Dim RegStr, Result
Set WshShell = WScript.CreateObject("WScript.Shell")
RegStr="HKCU\Software\Microsoft\Windows Messaging
Subsystem\Profiles\Microsoft Outlook Internet
Settings\8acb5ee993fdd311b2780010a4eb7f97\001E6600"
RegRead(RegStr)


Quote:
> yah, thanks, just confirmed for 95 and 98.  thanks for your help!



> > On my Win98 box with Outlook 2000...

> > HKEY_CURRENT_USER
> > \Software
> > \Microsoft
> > \Windows Messaging Subsystem
> > \Profiles
> > \<mail profile name>
> > \6efe233a78b8d311a82a00e02948e7d6

> > same named value of "001e6600" with the value

> > C:\WINDOWS\Application Data\Microsoft\Outlook\<arbitrary of my
> choosing>.pab

> > but of the 4 total mail profiles on the Win98 box two have the last node
> in the key as

> > \0e9e2607568cbe11911b823d75a0b8c5

> > and the 4th has

> > \36f02c81548cbe11911b823d75a0b8c5

> > So my guess that there must there must be another key or named value
> (hopefully with a common name)
> > within each profile that "points" to these.

> > You can do what I've been doing - just snoop with regedit.

> > --
> > Michael Harris
> > MVP Scripting



> > What about in 95/98?



> > > Search the registry for ".pab" (data only).  On my NT box with Outlook
> 98,
> > there is a *very* ugly
> > > registry key

> > > HKEY_CURRENT_USER
> > > \Software
> > > \Microsoft
> > > \Windows NT
> > > \CurrentVersion
> > > \Windows Messaging Subsystem
> > > \Profiles
> > > \<mail profile display name here>
> > > \75bac16ccdeed211a5500010e37c63c8

> > > and a named value of "001e6600" with the value

> > > C:\WINNT\Profiles\<username here>\Application
> > Data\Microsoft\Outlook\mailbox.pab

> > > which is the default location.  I have only the one profile, but ...

> > > Good luck !!!

> > > --
> > > Michael Harris
> > > MVP Scripting



> > > I am trying to determine the location of the MS outlook 97/2000 PAB
file
> > and
> > > then back it up in a VB script.

> > > I know how I want to do this once I can find the file, but I'd like to
> > know
> > > where win 95/98 stores the location of this file and read it from
there.
> > In
> > > the enviornment that I am working in the file can potentially be
located
> > > anywhere and named anything.

> > > Thanks for all your help,
> > > Matt




Mon, 23 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
Breaking that long key string across multiple lines wasn't the problem, but doing so certainly makes
it more readable (and keeps it from wrapping in the post ;-)...

Dim RegStr, Result
Set WshShell = WScript.CreateObject("WScript.Shell")
RegStr="HKCU\Software\Microsoft\"_
         &"Windows Messaging Subsystem"_
         &"\Profiles\Microsoft Outlook Internet Settings"_
         &"\8acb5ee993fdd311b2780010a4eb7f97"_
         &"\001E6600"
value = WshShell.RegRead(RegStr)

--
Michael Harris
MVP Scripting


I'm having trouble searching for this string using RegRead.  I keep getting
a type mismatch error.  any ideas?

Here's my code:

Dim RegStr, Result
Set WshShell = WScript.CreateObject("WScript.Shell")
RegStr="HKCU\Software\Microsoft\Windows Messaging
Subsystem\Profiles\Microsoft Outlook Internet
Settings\8acb5ee993fdd311b2780010a4eb7f97\001E6600"
RegRead(RegStr)


Quote:
> yah, thanks, just confirmed for 95 and 98.  thanks for your help!



> > On my Win98 box with Outlook 2000...

> > HKEY_CURRENT_USER
> > \Software
> > \Microsoft
> > \Windows Messaging Subsystem
> > \Profiles
> > \<mail profile name>
> > \6efe233a78b8d311a82a00e02948e7d6

> > same named value of "001e6600" with the value

> > C:\WINDOWS\Application Data\Microsoft\Outlook\<arbitrary of my
> choosing>.pab

> > but of the 4 total mail profiles on the Win98 box two have the last node
> in the key as

> > \0e9e2607568cbe11911b823d75a0b8c5

> > and the 4th has

> > \36f02c81548cbe11911b823d75a0b8c5

> > So my guess that there must there must be another key or named value
> (hopefully with a common name)
> > within each profile that "points" to these.

> > You can do what I've been doing - just snoop with regedit.

> > --
> > Michael Harris
> > MVP Scripting



> > What about in 95/98?



> > > Search the registry for ".pab" (data only).  On my NT box with Outlook
> 98,
> > there is a *very* ugly
> > > registry key

> > > HKEY_CURRENT_USER
> > > \Software
> > > \Microsoft
> > > \Windows NT
> > > \CurrentVersion
> > > \Windows Messaging Subsystem
> > > \Profiles
> > > \<mail profile display name here>
> > > \75bac16ccdeed211a5500010e37c63c8

> > > and a named value of "001e6600" with the value

> > > C:\WINNT\Profiles\<username here>\Application
> > Data\Microsoft\Outlook\mailbox.pab

> > > which is the default location.  I have only the one profile, but ...

> > > Good luck !!!

> > > --
> > > Michael Harris
> > > MVP Scripting



> > > I am trying to determine the location of the MS outlook 97/2000 PAB
file
> > and
> > > then back it up in a VB script.

> > > I know how I want to do this once I can find the file, but I'd like to
> > know
> > > where win 95/98 stores the location of this file and read it from
there.
> > In
> > > the enviornment that I am working in the file can potentially be
located
> > > anywhere and named anything.

> > > Thanks for all your help,
> > > Matt




Mon, 23 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
Ok that helps in my project but I realized one other thing, the line that
starts "8acb5..." is different on every system.  Can I "wildcard" that in my
search?  I don't care about the GUID, what I care about is the "001e6600"
value that is under the GUID.

None of my VBScript books has anything on this.


Quote:
> Breaking that long key string across multiple lines wasn't the problem,

but doing so certainly makes
Quote:
> it more readable (and keeps it from wrapping in the post ;-)...

> Dim RegStr, Result
> Set WshShell = WScript.CreateObject("WScript.Shell")
> RegStr="HKCU\Software\Microsoft\"_
>          &"Windows Messaging Subsystem"_
>          &"\Profiles\Microsoft Outlook Internet Settings"_
>          &"\8acb5ee993fdd311b2780010a4eb7f97"_
>          &"\001E6600"
> value = WshShell.RegRead(RegStr)

> --
> Michael Harris
> MVP Scripting



> I'm having trouble searching for this string using RegRead.  I keep
getting
> a type mismatch error.  any ideas?

> Here's my code:

> Dim RegStr, Result
> Set WshShell = WScript.CreateObject("WScript.Shell")
> RegStr="HKCU\Software\Microsoft\Windows Messaging
> Subsystem\Profiles\Microsoft Outlook Internet
> Settings\8acb5ee993fdd311b2780010a4eb7f97\001E6600"
> RegRead(RegStr)



> > yah, thanks, just confirmed for 95 and 98.  thanks for your help!



> > > On my Win98 box with Outlook 2000...

> > > HKEY_CURRENT_USER
> > > \Software
> > > \Microsoft
> > > \Windows Messaging Subsystem
> > > \Profiles
> > > \<mail profile name>
> > > \6efe233a78b8d311a82a00e02948e7d6

> > > same named value of "001e6600" with the value

> > > C:\WINDOWS\Application Data\Microsoft\Outlook\<arbitrary of my
> > choosing>.pab

> > > but of the 4 total mail profiles on the Win98 box two have the last
node
> > in the key as

> > > \0e9e2607568cbe11911b823d75a0b8c5

> > > and the 4th has

> > > \36f02c81548cbe11911b823d75a0b8c5

> > > So my guess that there must there must be another key or named value
> > (hopefully with a common name)
> > > within each profile that "points" to these.

> > > You can do what I've been doing - just snoop with regedit.

> > > --
> > > Michael Harris
> > > MVP Scripting



> > > What about in 95/98?



> > > > Search the registry for ".pab" (data only).  On my NT box with
Outlook
> > 98,
> > > there is a *very* ugly
> > > > registry key

> > > > HKEY_CURRENT_USER
> > > > \Software
> > > > \Microsoft
> > > > \Windows NT
> > > > \CurrentVersion
> > > > \Windows Messaging Subsystem
> > > > \Profiles
> > > > \<mail profile display name here>
> > > > \75bac16ccdeed211a5500010e37c63c8

> > > > and a named value of "001e6600" with the value

> > > > C:\WINNT\Profiles\<username here>\Application
> > > Data\Microsoft\Outlook\mailbox.pab

> > > > which is the default location.  I have only the one profile, but ...

> > > > Good luck !!!

> > > > --
> > > > Michael Harris
> > > > MVP Scripting



> > > > I am trying to determine the location of the MS outlook 97/2000 PAB
> file
> > > and
> > > > then back it up in a VB script.

> > > > I know how I want to do this once I can find the file, but I'd like
to
> > > know
> > > > where win 95/98 stores the location of this file and read it from
> there.
> > > In
> > > > the enviornment that I am working in the file can potentially be
> located
> > > > anywhere and named anything.

> > > > Thanks for all your help,
> > > > Matt




Tue, 24 Sep 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
Michael Harris,

Do you know if the "75bac16ccdeed211a5500010e37c63c8" key and "001e6600"
value are a constant? I am trying to detect whether a users profile has been
created as part of the script. Because the user name and profile name are
being created to match, I can obtain the full key, but verifying a key does
not appear possible in vbscript such as in the example"

DIM RegData, RegKey

Shell = Wscript.CreateObject ("Wscript.Shell")

RegKey = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\<User Profile Name>\"

RegData = Shell.RegRead (RegKey)

All I really want is to verify this is present so that I can say "Yes this
users profile is installed", but because the script above only returns an
error, I am somewhat at a loss to say what I should do from here... If the
above are trusted constants I am ok with using that. I would prefer to find
some way to just verify the key, but will live with an alternative if I can
find one.

Thanks in advance

Sam


Quote:
> Search the registry for ".pab" (data only).  On my NT box with Outlook 98,

there is a *very* ugly
Quote:
> registry key

> HKEY_CURRENT_USER
> \Software
> \Microsoft
> \Windows NT
> \CurrentVersion
> \Windows Messaging Subsystem
> \Profiles
> \<mail profile display name here>
> \75bac16ccdeed211a5500010e37c63c8

> and a named value of "001e6600" with the value

> C:\WINNT\Profiles\<username here>\Application

Data\Microsoft\Outlook\mailbox.pab
Quote:

> which is the default location.  I have only the one profile, but ...

> Good luck !!!

> --
> Michael Harris
> MVP Scripting



> I am trying to determine the location of the MS outlook 97/2000 PAB file
and
> then back it up in a VB script.

> I know how I want to do this once I can find the file, but I'd like to
know
> where win 95/98 stores the location of this file and read it from there.
In
> the enviornment that I am working in the file can potentially be located
> anywhere and named anything.

> Thanks for all your help,
> Matt




Tue, 08 Oct 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
The long one is different for each mail profile, but on every machine I've checked "001e6600" is
constant.

--
Michael Harris
MVP Scripting



Michael Harris,

Do you know if the "75bac16ccdeed211a5500010e37c63c8" key and "001e6600"
value are a constant? I am trying to detect whether a users profile has been
created as part of the script. Because the user name and profile name are
being created to match, I can obtain the full key, but verifying a key does
not appear possible in vbscript such as in the example"

DIM RegData, RegKey

Shell = Wscript.CreateObject ("Wscript.Shell")

RegKey = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\<User Profile Name>\"

RegData = Shell.RegRead (RegKey)

All I really want is to verify this is present so that I can say "Yes this
users profile is installed", but because the script above only returns an
error, I am somewhat at a loss to say what I should do from here... If the
above are trusted constants I am ok with using that. I would prefer to find
some way to just verify the key, but will live with an alternative if I can
find one.

Thanks in advance

Sam


Quote:
> Search the registry for ".pab" (data only).  On my NT box with Outlook 98,

there is a *very* ugly
Quote:
> registry key

> HKEY_CURRENT_USER
> \Software
> \Microsoft
> \Windows NT
> \CurrentVersion
> \Windows Messaging Subsystem
> \Profiles
> \<mail profile display name here>
> \75bac16ccdeed211a5500010e37c63c8

> and a named value of "001e6600" with the value

> C:\WINNT\Profiles\<username here>\Application

Data\Microsoft\Outlook\mailbox.pab
Quote:

> which is the default location.  I have only the one profile, but ...

> Good luck !!!

> --
> Michael Harris
> MVP Scripting



> I am trying to determine the location of the MS outlook 97/2000 PAB file
and
> then back it up in a VB script.

> I know how I want to do this once I can find the file, but I'd like to
know
> where win 95/98 stores the location of this file and read it from there.
In
> the enviornment that I am working in the file can potentially be located
> anywhere and named anything.

> Thanks for all your help,
> Matt




Tue, 08 Oct 2002 03:00:00 GMT  
 determining the location of the outlook PAB file
Seems to be what I have found as well and am using in my scripts

Quote:
> The long one is different for each mail profile, but on every machine I've

checked "001e6600" is
Quote:
> constant.

> --
> Michael Harris
> MVP Scripting



> Michael Harris,

> Do you know if the "75bac16ccdeed211a5500010e37c63c8" key and "001e6600"
> value are a constant? I am trying to detect whether a users profile has
been
> created as part of the script. Because the user name and profile name are
> being created to match, I can obtain the full key, but verifying a key
does
> not appear possible in vbscript such as in the example"

> DIM RegData, RegKey

> Shell = Wscript.CreateObject ("Wscript.Shell")

> RegKey = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows
> Messaging Subsystem\Profiles\<User Profile Name>\"

> RegData = Shell.RegRead (RegKey)

> All I really want is to verify this is present so that I can say "Yes this
> users profile is installed", but because the script above only returns an
> error, I am somewhat at a loss to say what I should do from here... If the
> above are trusted constants I am ok with using that. I would prefer to
find
> some way to just verify the key, but will live with an alternative if I
can
> find one.

> Thanks in advance

> Sam



> > Search the registry for ".pab" (data only).  On my NT box with Outlook
98,
> there is a *very* ugly
> > registry key

> > HKEY_CURRENT_USER
> > \Software
> > \Microsoft
> > \Windows NT
> > \CurrentVersion
> > \Windows Messaging Subsystem
> > \Profiles
> > \<mail profile display name here>
> > \75bac16ccdeed211a5500010e37c63c8

> > and a named value of "001e6600" with the value

> > C:\WINNT\Profiles\<username here>\Application
> Data\Microsoft\Outlook\mailbox.pab

> > which is the default location.  I have only the one profile, but ...

> > Good luck !!!

> > --
> > Michael Harris
> > MVP Scripting



> > I am trying to determine the location of the MS outlook 97/2000 PAB file
> and
> > then back it up in a VB script.

> > I know how I want to do this once I can find the file, but I'd like to
> know
> > where win 95/98 stores the location of this file and read it from there.
> In
> > the enviornment that I am working in the file can potentially be located
> > anywhere and named anything.

> > Thanks for all your help,
> > Matt




Thu, 10 Oct 2002 03:00:00 GMT  
 
 [ 11 post ] 

 Relevant Pages 

1. determining the location of the outlook PAB file

2. Automate import WAB files into Outlook PAB

3. How does Outlook determine the Signature location?

4. Determine if URL is file or location

5. How to access PAB for International version of Outlook

6. Reading the Outlook Address Book(PAB)

7. Reading the Outlook Address Book(PAB)

8. Copying files from different locations to different locations

9. How to convert addresses in a MMF to a PAB file

10. VB4 STD - How can I manipulate MS Exchange PAB (Address Book) files

11. VB4.0 and .PAB files

12. VB4 STD - How can I manipulate MS Exchange PAB (Address Book) files

 

 
Powered by phpBB® Forum Software