Windows has a command called, simply, reg has a command line interface that you can use through STAF processes. Some example commands with it:
reg query "HKLM\path\to\registry\key" reg add "HKLM\path\to\registry\key" reg delete "HKLM\location" v "key-name" /f If you run on Windows 2000, some of the reg commands are slightly different. Also, you will probably have to escape the backslash char - at least I did - in your commands in STAX, if you're using STAX, e.g.: 'HKLM\\Software\\Wow6432Node\\' Paul Ellsworth From: Cindy Zhu <c...@fekete.com> To: "staf-users@lists.sourceforge.net" <staf-users@lists.sourceforge.net> Date: 08/19/2011 10:47 AM Subject: [staf-users] Delete Registry Keys from the STAF command Hi, Is there a way to delete registry keys(with subkeys) from the STAF command? Thanks, Cindy ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users