Go Back   Scooter Forums > Beyond Compare 3 Discussion > Other Session Types
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 29-Dec-2011, 03:22 AM
sveinan sveinan is offline
New User
 
Join Date: Dec 2011
Posts: 2
Exclamation Registry Compare, Parsing Error, BC don't handle [] in key names (which is legal)

Just been trying to utilize BC (Pro 3.3.3 14128) as a registry compare tool. I am very interested in using it in problem solving situations. Often I have the need to compare whole HKLM instances before/after changes has been done. Yes, I could do text compare, but it is not good enough in all cases (better with logical registry tree-view).

Problem now is that BC gets "Parsing Error" in all my test cases. Have already pinpointed what it reacts to. Hope it is not more cases, but cannot go on before this gets fixed

Short of it: BC do not handle left/right square brackets [] as part of a key (registry path) name. It is 100% legal to have, BC should support it. Following example is easy to test with:

File: test_before.reg
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\123\456 [789] ABC]
"TestValue"="ABC"
File: test_after.reg
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\123\456 [789] ABC]
"TestValue"="ABC changed"
The problem part is that last part of key path has this name:
» "456 [789] ABC"

I can both export and import key names with [] brackets through Windows Registry Editor. But BC, as of now, gets "Parsing Error (3:44)" on the example .reg files above.

So for now BC is not usable for me in this aspect. Is this something you could fix in a future revision of BC ? Or have I overlooked an (easy) workaround ?

Hope this can be fixed. I really need a registry tree-view compare tool, and this looks very promising
Reply With Quote
  #2  
Old 29-Dec-2011, 10:03 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 7,175
Default

Thanks for the report and sample files. I'll make a tracker entry to investigate this. In the meantime, you'll need to use our Text Compare session type to workaround this and compare your .reg files with the [names]. You can use the Session menu -> Compare Files Using, to switch between Text Compare and Registry Compare.
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 30-Dec-2011, 03:40 AM
sveinan sveinan is offline
New User
 
Join Date: Dec 2011
Posts: 2
Default

That was quick Thanks for the reply and suggestion. For now I'll monitor future BC releases and see if problem gets solved.

BTW: Did go through my 150MB test dump of HKLM and manually remove the [] entries. There were no other logic that made problems, so with the [] eliminated BC compared 150MB of my HKLM without problems. And that 150MB is from a machine that has gone through a lot. Lots of strange registry entries
Reply With Quote
  #4  
Old 30-Dec-2011, 08:56 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 7,175
Default

Thanks for the info. We've had a few other tweaks like this since releasing our Registry Compare that help increase its compatibility. It's good to know it's handling larger and complex entries.

You can subscribe to our News and Announcements forum for updates on each release, or use the BC3 built-in Check for Updates command.
__________________
Aaron P Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:21 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.