Re: Setting the auto-archiving folder via script
- From: "Dave Kane [MVP - Outlook]" <dkane@xxxxxxxx>
- Date: Tue, 7 Mar 2006 09:27:44 -0800
1. 001f0324 is the value for the archive path, at least on Outlook 2003. I
checked a few systems and didn't find a value 001f032c in any profile,
regardless of the version of Outlook.
2. The final zero (also known as the null terminator) is a marker that
indicates the end of the string in the byte array.
"Thomas" <Thomas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7C993BB1-3407-4577-92E9-9BC24570ABFE@xxxxxxxxxxxxxxxx
Bonjour from France,
I'm trying to write a script (in javascript) to be added to the logon
script
of the users of the company I'm working in.
This script will have to set a different auto-archiving folder than the
one
set by default.
This parameter is located in the Windows registry in the followings keys :
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\ "Profile name"
0a0d020000000000c000000000000046\001f032c and 001f0324
This key is a Binary Key.
When I edit the value of that key, I notice that it's composed of the
ascii
codes of every character composing the folder name in unicode format. So
'c:\archive\archive.pst' should appear coded as :
'63 00 3A 00 5C 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5C 00 61 00
72
00 63 00 68 00 69 00 76 00 65 00 2E 00 70 00 73 00 74 00'
BUT
It appears coded with a zero at the end :
'63 00 3a 00 5c 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5c 00 61 00
72
00 63 00 68 00 69 00 76 00 65 00 2e 00 70 00 73 00 74 00 00 00'
My two questions about the auto-archiving parameter in the registry are :
1 : What is the difference between the '001f032c' key and the '001f0324'
key ?
2 : What is the meaning of the zero terminating the folder name ?
Thanks a lot.
Thomas.
.
- Prev by Date: To rename outlook mail attachment to sender's email address
- Next by Date: Re: Message Rule Does Not Run VBA Procedure
- Previous by thread: To rename outlook mail attachment to sender's email address
- Next by thread: Re: macro security
- Index(es):
Relevant Pages
|