PDA

View Full Version : registry


charkez
02-13-2003, 09:10 PM
hello need help with reg read
<IR_ACTIONS_LIST>
<Action name="Get Sub Key Names">
<Type>71</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<Variable>%SubKeys%</Variable>
<Delimiter>;;</Delimiter>
<MainKey>2</MainKey>
<SubKey>Identities</SubKey>
</Action>
</IR_ACTIONS_LIST>

this give me a delimeted list of Identities on the computer

the list looks like this

{28CD4BC2-2397-11D7-A5B5-000244120039};;{B248AAA0-848E-11D5-A445-000244120039};;{F4B02942-3EDB-11D7-A5D4-000244120039}


as i have three idents setup
need to use this list to read a value in each of the Identities


Thanks

TJ_Tigger
02-13-2003, 10:36 PM
What subkey are you trying to read?

Do you have a description of what you are trying to do, once you have the identies?

charkez
02-13-2003, 10:54 PM
this is main key
[HKEY_CURRENT_USER\Identities]

inside are keys like this one for each outlook express Identitie

this is the info iam after
[HKEY_CURRENT_USER\Identities\{28CD4BC2-2397-11D7-A5B5-000244120039}\Software\Microsoft\Outlook Express\5.0]
"Store Root"=hex(2):25,55,73,65,72,50,72,6f,66,69,6c,65,25,5c, 41,70,70,6c,69,\
63,61,74,69,6f,6e,20,44,61,74,61,5c,49,64,65,6e,74 ,69,74,69,65,73,5c,7b,32,\
38,43,44,34,42,43,32,2d,32,33,39,37,2d,31,31,44,37 ,2d,41,35,42,35,2d,30,30,\
30,32,34,34,31,32,30,30,33,39,7d,5c,4d,69,63,72,6f ,73,6f,66,74,5c,4f,75,74,\
6c,6f,6f,6b,20,45,78,70,72,65,73,73,5c,00

wich equates to where the dbx files are stored need this info for however many Identities there are so i can use that info to backup the email files

Thanks For Looking into this for me

Lorne
02-14-2003, 09:40 AM
You can use the String - Get Delimited String action to extract one Identity at a time from that delimited list.

Is there any reason why you can't just use a Registry - Get Value action to retrieve the value at this key directly?

HKEY_CURRENT_USER\Identities\{28CD4BC2-2397-11D7-A5B5-000244120039}\Software\Microsoft\Outlook Express\5.0\Store Root

?

Option_Explicit
02-14-2003, 09:26 PM
I made up this program with AMS to backup Outlook Express .dbx files, you can modify it to fit your needs, it's rather basic, but I'm not quite advanced at this yet(ie: Not a Worm yet) you can get zip from my ftp next day or two b4 it's gone, ftp://AMS-User:password2@24.82.160.19/outlookexpress.zip
check it out , just don't laugh at meee code

Option_Explicit
02-15-2003, 12:53 AM
UpDate:Ok my FTP don't work to good...heres a web URL
http://members.shaw.ca/techsmail/Outlookexpress.zip

charkez
02-16-2003, 05:14 PM
Useing the Get Value action would not work as the {28CD4BC2-2397-11D7-A5B5-000244120039} Number Is Randomly generated and each ident is differant

will look into the Get Delimited String action

Thanks for the input

charkez
02-16-2003, 05:16 PM
Thanks Option_Explicit will dowload it npw and have a look