SwedenXP Posted October 4, 2008 Posted October 4, 2008 Ladies and gentlemen,I would like some tips and suggestions, please.I have a dream of being able to find and backup my mailboxes in OutlookExpress with a single .cmd file.The problem is that the absolute place changes with each installation so my batch script has to be able to find the right location and copy all DBX-files within that folder - and paste them to a folder on another disk and overwrite the old backup.Can this be done with a batch script or do I have to enter the Autoit-jungle?Big thanx in advance/SwedenXP B)
jaclaz Posted October 4, 2008 Posted October 4, 2008 Sure it can be done in batch.A basic batch to backup the folders is here:http://email.about.com/cs/oetipstricks/qt/et110703.htm(but it needs you to supply the source)But with some info from here:http://www.insideoe.com/files/regkeys.htmit should just be a matter of querying the Registry to get the path, i.e. doing from batch what is suggested to be done manually here:http://email.about.com/cs/oetipstricks/qt/et010603.htmOr maybe freebies like these are what you want:http://www.oehelp.com/OEBackup/Default.aspxhttp://www.genie-soft.com/products/oeb/features.htmljaclaz
SwedenXP Posted October 4, 2008 Author Posted October 4, 2008 @jaclaz thanx for good advise - and good links!But of course I have some questions.I like the old-fashioned method I take the basic batch that You recommended + a correct path... but how to find that path?Would it not be easier to search for a .dbx file - find it and set that directory as source?But I do not know how to do such a search.../SwedenXP
jaclaz Posted October 5, 2008 Posted October 5, 2008 You can use reg.exe from batch, then parse it's output, here are a couple examples:http://www.msfn.org/board/pulling-registry-ba-t97010.htmlRead these also:http://www.robvanderwoude.com/ntregistry.htmlhttp://www.robvanderwoude.com/ntfor.htmlhttp://www.robvanderwoude.com/ntfortokens.htmlOpen a command prompt and run in it:reg query "HKCU\Identities"jaclaz
SwedenXP Posted October 5, 2008 Author Posted October 5, 2008 Thanks jaclaz! I will try your tips./SwedenXP
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