Twar3Draconis Posted January 10, 2007 Share Posted January 10, 2007 How would I export a registry entry into a .REG file? I've been working on making an application usable from a USB drive, with changeable settings, and those come from the registry. Up to this point, I have the program load a .reg file into the registry with: RunWait("regedit.exe /s File.reg", @ScriptDir) and at the end, I have it running: RunWait("regedit.exe /s File2.reg", @ScriptDir) File2.reg removes the registry entries. Link to comment Share on other sites More sharing options...
mrbond007 Posted January 11, 2007 Share Posted January 11, 2007 RunWait("regedit.exe /e "File.reg" "HKEY_CURRENT_USER\anykeyyouwant"") Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
Twar3Draconis Posted January 11, 2007 Author Share Posted January 11, 2007 It's not working. If it helps, I am trying to store a whole registry directory into a .reg file. Ex: HKEY_CURRENT_USER\Software\Something\ Link to comment Share on other sites More sharing options...
Joon Posted January 11, 2007 Share Posted January 11, 2007 RunWait('regedit.exe /e "' & @ScriptDir & '\File.reg" "HKEY_CURRENT_USER\Software\Adobe"') Link to comment Share on other sites More sharing options...
Redbeard Posted March 12, 2007 Share Posted March 12, 2007 How would I export a registry entry into a .REG file?I've been working on making an application usable from a USB drive, with changeable settings, and those come from the registry.Hey bud, I've been working on similar projects and I came across this script which is awesome. It works better than using regedit since some admins disable regedit functions. Enjoy.http://www.autoitscript.com/forum/index.ph...mp;#entry316035 Link to comment Share on other sites More sharing options...
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