ZenKensei Posted March 30, 2004 Share Posted March 30, 2004 Group, Was curious about the cleanest way to run/import an external registry file (.reg)during a compiled AutoIt script (the registry file will be included in the compiled script). Would like to do it without any user intervention and the less they see the better. The machine the script will run on may be anything from Windows 98 on through Windows XP. Also, would I have to use an external Registry application like Reg.exe or Regedit.exe to call the file or can AutoIt handle internally on its own? I would port over the file directly into AutoIT but the registry file has 75 lines with some fairly complex lines, multi Multi_Reg_Sz strings etc. (ok, I confess, the Regwrite function is still a little confusing on some of the 'defaults' and more complicated entries...). Would love to have a .Reg to AutoIt v3 format converter program (hint, hint) ... Anyway, thoughts and suggestions would be appreciated, a simple line of example code would be great... Thanks in advance, ZK Link to comment Share on other sites More sharing options...
ZenKensei Posted March 31, 2004 Author Share Posted March 31, 2004 Ok, Larry... No one likes a showoff!!! I mean jeeezz, you sure you couldn't have made that any easier? DOH!!!! I feel so noobified And here is what I was toying around with before I sent the message out... Runwait ('Regedit' & @ProgramFilesDir & '\Orl\VNC\VNC.reg', "C:\WINDOWS", @SW_MAXIMIZE) Seems like I was trying to make it to hard.... Thanks again for all the help (and for AutoIt in specific) Z/K Link to comment Share on other sites More sharing options...
CyberSlug Posted March 31, 2004 Share Posted March 31, 2004 ZenKensei, here is a good reference about regedit features. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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