freezer Posted September 5, 2007 Posted September 5, 2007 Is it possible to import a .reg file into the registry. It is a export from a registry that includes > 30 lines. Therefor I think that it will be a lot of work with RegWrite. Please info if I can call and import a *.REG file via Auto IT. A waiting your reply. Freezer
ResNullius Posted September 5, 2007 Posted September 5, 2007 Is it possible to import a .reg file into the registry. It is a export from a registry that includes > 30 lines. Therefor I think that it will be a lot of work with RegWrite. Please info if I can call and import a *.REG file via Auto IT. A waiting your reply. FreezerYou can use the command line options of the Windows "regedit" command: $regFile = @TempDir & "\myregfile.reg" RunWait("Regedit " & $regFile)oÝ÷ Ù8Z·¥·¬º[b· yئº&¦Ø§*.Â+aj«¨µÚ2¢ìÛhêà{övØ^ríz{l¡ù²èW¢Ú-êÞ+-¯*®¢Ûr¥é²Æ y©Ý~)â²§©®¬¹Ç²Çîû§²çz˺Y²Æ y:¢Ø^±©¶§¶¦zËë¬zØ^ªê-þÊ®¢ÚÞçb¶Ì"µÈ_¢º®¢Û"éíªê-¢«jب«¢+ØÀÌØíÉ¥±ôQµÁ¥ÈµÀìÅÕ½ÐìÀäÈíµåÉ¥±¹ÉÅÕ½Ðì)IÕ¹]¥Ð ÅÕ½ÐíI¥Ð½ÌÅÕ½ÐìµÀìÀÌØíÉ¥±¤ NOTE: With the /s option, you will get no notification of error, eg: myregfile doesn't exist, myfilereg isn't a proper registry file and it doesn't appear to return a usable errorlevel so you will have to do some autoit regread commands to test (some of) the entries afterwards.
toxicvn Posted October 13, 2008 Posted October 13, 2008 i want set permission for a key reg ? help me thank
toxicvn Posted October 13, 2008 Posted October 13, 2008 i want set permission for a key reg ? help me thank
CosmicDan Posted October 13, 2008 Posted October 13, 2008 i want set permission for a key reg ? help me thank Please dont double post, it will actually deter people from helping you usually! If you are speaking of getting permissions to a specific part of the registry hive, then see this http://support.microsoft.com/kb/264584 Don't blame me if you kill your system - the REGINI tool will ERASE EXISTING PERMISSIONS on a registry key. Otherwise, you will have to launch a process as trustedinstaller to modify system keys. And that's too complicated for me to get into, as far as I know AutoIt cannot do that and you need external tools. CosmicDan.com
AlmarM Posted October 13, 2008 Posted October 13, 2008 Isn't this the 'Example Scripts' ? AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
BrettF Posted October 13, 2008 Posted October 13, 2008 Isn't the limit 10 posts? Maybe a mod got mislead by the title- I know I did. "How to import a .reg file into the registry with auto it" Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
AlmarM Posted October 13, 2008 Posted October 13, 2008 Isn't the limit 10 posts?Maybe a mod got mislead by the title- I know I did. "How to import a .reg file into the registry with auto it"Hmm yes its 10 ?AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
CosmicDan Posted October 13, 2008 Posted October 13, 2008 (edited) Ooops.. my bad! Edited October 13, 2008 by DanielC CosmicDan.com
AlmarM Posted October 14, 2008 Posted October 14, 2008 Oh well, I think it doenst realy care AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
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