VMware Horizon Community
JohnFx
Contributor
Contributor

How do I comment out lines in the HKEY_LOCAL_MACHINE.txt and other registry files?

I'd like to add some commenting to these files to document why I am isolating each key. Is there a comment character that can be used in these files?

Tags (2)
Reply
0 Kudos
3 Replies
admin
Immortal
Immortal

Lines starting with # are treated as comment lines in the registry text files.

Reply
0 Kudos
JohnFx
Contributor
Contributor

I tried that to no avail. I took a registry file that previously built with no complaints and added a line "#this is a comment" somewhere in the middle of it and the build process errors out with "Expected isolation mode or deleted at..."

Reply
0 Kudos
admin
Immortal
Immortal

Hmm, turns out comment lines are not handled correctly by vregtool. Sorry, no workaround. I've filed a bug.

Reply
0 Kudos