English | 简体中文 XML | HTML | S | M | L
viviasoft.com Home
Other
Some tools designed by author

regeditx

A console tool to call regedit.exe, but firstly check if a register key is exist ( or not exist )

Readme
regeditx V 1.0, by forxm@21cn.com, 2006-12.
Work with/like regedit.exe, but firstly check if a Registry-Key exist.

regeditx.exe /T[-|+]:RegistryKey [*]

/T              Test the existence of a registry-key.
                RegistryKey must be started with:
                HKEY_CLASSES_ROOT   HKEY_CURRENT_CONFIG   HKEY_CURRENT_USER
                HKEY_LOCAL_MACHINE  HKEY_USERS            HKEY_PERFORMANCE_DATA
                HKEY_DYN_DATA
[-|+]           -: (default) if not exist, continue to call regedit.exe.
                +: if exist, continue.
[*]             Other parameters will transfer to regedit.exe.

Example, if a key not exist, combine a specified *.reg file:
regeditx.exe /T:"HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\MS Access Database" /S RegAccessDsn.reg
Design for next version

* All Rights Reserved * 版权所有 * 2000-2006 * www.viviasoft.com * Powered by supertree & xforum *

粤ICP备06042644号