sulfurious Posted December 15, 2007 Posted December 15, 2007 (edited) Greetings. I decided I needed a better registry converter than the one I was using. I wrote this one. It uses unicode files at the moment. I was tired of converting to 9x Ascii. Eventually I wish to build in code for Ascii as well, as some of the routines are different. I hope to rewrite my reg to inf app as well. Too bad AutoIT doesn't support all reg data types yet. Anyway, here is the script. I have attached a sample reg file as well, that has lot's of unique values. n7epsilon over at ryanvm's forum shared the first portion with me a couple years ago, and it is a really good file to test routines on. Please let me know how it works. Later. Sul. EDIT: add routine for enabling [-HKEY and =- values. Not parsed yet, but next step. EDIT: attached .rar file including .au3 and 2 reg files.SG_RegTool.rar Edited December 18, 2007 by sulfurious
MaudKip Posted December 18, 2007 Posted December 18, 2007 If StringInStr($arr_beg[$x],"Windows Registry Editor Version 5.00") Then If StringInStr($arr_beg^ ERROR
sulfurious Posted December 18, 2007 Author Posted December 18, 2007 Yes, right now the script expects that line to exist as exported. I am nearly done with the next stage, which includes many changes. Should be a day or two and I will update the code. Thanks for the heads up. I have changed that portion of code. Sul.
sulfurious Posted December 18, 2007 Author Posted December 18, 2007 Fixed many issues. Current attached archive has the script, and 2 reg files, one to merge, and the other that the script uses. The script does not actually execute any write or delete operations, that part is commented out. It returns 3 arrays, one with the writes, one with the reads, and one with the existing values that have been read. There is inclusion for outputting to a file if uncommented. Critique's welcome. Sul.
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