![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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. |
Ads |
#2
|
|||
|
|||
![]()
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" wrote in message ... 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. |
#3
|
|||
|
|||
![]()
Thanks ! Merci beaucoup.
"Dave Kane [MVP - Outlook]" wrote: 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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
dual post of "setting folder option" problem | Gordon Byrne | Outlook - General Queries | 5 | March 5th 06 08:40 PM |
Archiving | Jordan | Outlook and VBA | 3 | March 2nd 06 09:30 PM |
Is there a policy or registry setting for setting the default addr | scsi | Outlook - Installation | 1 | February 28th 06 01:19 PM |
auto linking of Inbox subfolder with server folder | [email protected] | Outlook and VBA | 1 | February 6th 06 09:09 PM |
Archiving | mcp6453 | Outlook Express | 1 | January 21st 06 03:26 AM |