bobheart Posted October 11, 2004 Posted October 11, 2004 I was wondering how to set the path to backup outlook ? this is the path to my folder . C:\Documents and Settings\bob\Local Settings\Application Data\Identities\{83EA8F37-FA6B-476A-BC29-E853133CD2E4}\Microsoft\Outlook Express Sp how would you do the path ? I want to make one for my wife and maybe father inlaw but not sure how to do the path with this . Would you use @UserProfileDir this for the profile ?
this-is-me Posted October 11, 2004 Posted October 11, 2004 @UserProfileDir and the you need to search the registry for the right set of numbers {83EA8F37-FA6B-476A-BC29-E853133CD2E4} also known as a clsid to add to that path. Who else would I be?
bobheart Posted October 11, 2004 Author Posted October 11, 2004 Umm not sure how that is done .. damn this is going to be hard .
this-is-me Posted October 11, 2004 Posted October 11, 2004 Yep. It will be. I would recommend looking for a free program that does it for you. Lots of people have had this problem before, and there are many solutions for it. Who else would I be?
Matt @ MPCS Posted October 11, 2004 Posted October 11, 2004 I think I figured out where the User ID is stored in the registry... not positive since I refuse to use OE. There is a user id setting:HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Common\UserID=The value contains a number in the same clsid format so could be it. I need someone that uses Outlook Express to confirm this value before I can be positive.*** Matt @ MPCS
bobheart Posted October 11, 2004 Author Posted October 11, 2004 Well if you do figure anything out let me know would you . this would be nice to make .
MHz Posted October 11, 2004 Posted October 11, 2004 (edited) ; --- Find ID String here --- HKEY_CURRENT_USER\Identities Key: "Default User ID" = "{ "Your ID String Here" }" ; --- Location of Store Root --- HKEY_CURRENT_USER\Identities\{ "Your ID String Here" }\Software\Microsoft\Outlook Express\5.0 Key: "Store Root" = "The database files location"These maybe are the registry keys to look at.Looks to have ID String and location of Outlook Express database files.Taken from XP Pro.Tested with a example below, seems fine.$id = RegRead('HKEY_CURRENT_USER\Identities', 'Default User ID') $store = RegRead('HKEY_CURRENT_USER\Identities\' & $id & '\Software\Microsoft\Outlook Express\5.0', 'Store Root') MsgBox(0,'Outlook Express Default User ID and Database Storage Location' , 'Default User ID = ' & $id & @CRLF & 'Database Storage = ' & $store) Edited October 11, 2004 by MHz
marble127 Posted April 23, 2008 Posted April 23, 2008 HI, I'v create a small but working backup for OE: expandcollapse popup#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.10.0 Author: Martin van Bellen - Holland Script Function: Make backup of Outlook Express 6 folders. #ce ---------------------------------------------------------------------------- ; Script Start ; Find path to current OE folders $ident=RegRead("HKEY_CURRENT_USER\Identities","Default User ID") $oePath=RegRead("HKEY_CURRENT_USER\Identities\" & $ident & "\Software\Microsoft\Outlook Express\5.0","Store Root") $oeRoot=$ident & "\Software\Microsoft\Outlook Express\5.0" $oePath=@UserProfileDir&StringRight($oePath,StringLen($oePath)-13) ;~ MsgBox(0,"Path to OE", $oePath) ; Set path to export folder $buPath="D:\OEBackup" ; Create info GUI GUICreate("OE Backup", 510, 160) GUICtrlCreateLabel("Creating Outlook Express backup...", 10, 10) GUICtrlCreateLabel("User folder: " & @UserProfileDir, 10, 50) GUICtrlCreateLabel("Data folder: " & $oeRoot, 10, 70) GUICtrlCreateLabel("Dest. folder: " & $buPath, 10, 90) GUICtrlCreateLabel("Please wait...", 10, 130) ; Display GUI GUISetState() ; Find out if OE is running, and if it is, sugest to clos it $isOE=ProcessExists("msimn.exe") If ($isOE<>0) Then MsgBox(64,"OE Backup", "Outlook Express is still active." & chr(13) & "Please close Outlook Express and try again.") Exit EndIf ; Use source en dest vars to backup files FileCopy($oePath & "\*.dbx", $buPath, 9) ; Display conformation and remove GUI from display MsgBox(64,"OE Backup", "Backup created.") GUIDelete() ; Exit script Exit This is only rudimentary, but it works. Could use some GUI updates though! ** DESTINATION PATH IS HARD CODED IN THIS SCRIPT ** Martin
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now