PDA

View Full Version : Edit the Registry


mathew.worland
2006-07-11, 07:27 PM
Hello,

I have played in the registry before, but not with lisp. I would like to be able to automate this fix for AutoCAD Electrical. Is this possible
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=7343143&linkID=4199150 (http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=7343143&linkID=4199150)

Thanks

Matt Worland

clovis
2006-07-17, 09:57 AM
Hello,
You can take a look at the dos function "net localgroup". and use the shell command.
Hope it helps

Ed Jobe
2006-07-17, 03:56 PM
You don't need lisp. Create a *.reg file and run it on each users machine.

Go to regedit. Navigate to the key you want to edit, then, File>Export. This will save the key to a txt file with *.reg extension. Open the file in Notepad and change the values you want and save the file. Now all you have to do is run the file and the key will be updated with the new value.

I suppose you could use lisp to copy the file to each user's machine and run it with shell.