You are currently viewing our archived support Forum. Please visit the Current Discussion Forum if you need to post a new message.
[ Home | Archives Contents | Search | Current Discussion Forum ]
From: stevewoodhouse@hsbc.com
Date: 08/07/01
Time: 08:56 AM
I'm currently designing a remote security system for around 125 pcs and I'm using the regini.exe resource to control it. One of the things I need to control is the ability to run .bat and .cmd files and I have achieved this by removing the open keys from the registry using regini.exe. However, I also need to remotely remove all of my security and I am having problem with regini.exe when it comes to replacing some of the values. In key - HKey_classes_root\batfile\shell\open there is a binary value called 'EditFlags' that has a value of 0 displayed in hex as 00,00,00,00. When I export the key the .reg file the value is given as hex:00 00 00 00 but I cannot work out how to return this value to the key using regini. This leads to 2 questions. Firstly, is the format of the number important? Since the value is zero it shouldn't matter how it is displayed. Should it? Secondly, If the format is important then how do I use regini to return this value and format?