Mat Posted May 26, 2009 Share Posted May 26, 2009 (edited) My second release this afternoon, Its half term - gives me a lot of free time!This one checks for any syntax related errors in a .reg file or a string. I think it finds most of the errors I can think of, but it might not get all of them. If there is one that I have missed, please do tell! I'd be delighted to know.Due to a lack of any real guidelines on the internet, I have had to check it by "experimenting" and from what I know works. I think I have it pretty much sussed now!Download LinkDownloads so far is shown on the downloads page.I have been checking it using this:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\Test Reg] @="@Val" "string"="This is a string" "Binary"=hex:11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,\ 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,\ 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,\ 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,01,\ 11,10,10 "DWORD"=dword:ffffffff "Multi String"=hex(7):54,00,68,00,69,00,73,00,20,00,69,00,73,00,20,00,61,00,20,\ 00,6d,00,75,00,6c,00,74,00,69,00,20,00,73,00,74,00,72,00,69,00,6e,00,67,00,\ 2e,00,00,00,69,00,74,00,20,00,63,00,61,00,6e,00,20,00,77,00,6f,00,72,00,6b,\ 00,20,00,6f,00,6e,00,20,00,6d,00,6f,00,72,00,65,00,20,00,74,00,68,00,61,00,\ 6e,00,20,00,31,00,20,00,6c,00,69,00,6e,00,65,00,00,00,00,00 "Expandable String"=hex(2):54,00,68,00,69,00,73,00,20,00,69,00,73,00,20,00,61,\ 00,6e,00,20,00,65,00,78,00,70,00,61,00,6e,00,64,00,61,00,62,00,6c,00,65,00,\ 20,00,73,00,74,00,72,00,69,00,6e,00,67,00,21,00,21,00,00,00MatEdit: Now includes use of "-" to remove keys and values.Edit2: Now returns the line number of error in @ExtendedUpdated Download link @ 12 March 2010 Edited March 12, 2010 by Mat AutoIt Project Listing 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