Readme file of Regcmd 0.91c
This release is source code only
*******************************************************************************
MODIFYING THE REGISTRY CAN CAUSE SERIOUS PROBLEMS! USE REGCMD ON YOUR OWN RISK!
regcmd may contains bug, USE REGCMD ON YOUR OWN RISK!
*******************************************************************************
What is Regcmd ?
Regcmd is a command line based Windows Registry Interactive Editor.
Regcmd Usage:
H|?|HELP Show Help
DIR|LS|LIST List level: DIR [foo[*]] [/ad|/a-d|/p](NoSpaceBetweenSwitches)
CD|CHDIR Change key level: CD \hklm\software
MD|MKDIR Create a key: MD <newkey>
RD|RMDIR Delete a key: RD <oldkey>
NEW Create a value: NEW [newvaluename]
EDIT Edit a value: EDIT [editvalue]
COPY|CP Copy [path\]SrcValue [path\]DesValue,path ends with a "\"
DEL|ERASE Delete a value: DEL <oldvalue>
EXIT|QUIT|BYE Exit this program
TYPE Type value's data: TYPE <value>
VER Show program version
HKLM HKEY_LOCAL_MACHINE
HKCU HKEY_CURRENT_USER
HKUS HKEY_USERS
HKCR HKEY_CLASSES_ROOT
HKCC HKEY_CURRENT_CONFIG
HKPD HKEY_PERFORMANCE_DATA [NT]
HKDD HKEY_DYN_DATA [9x]
GO|GOTO Use ShortCut to goto a deep key|value path,"? go" for detail
LOAD Load shortcuts: LOAD PC1 to load [shortcut.pc1] section
SAVE Save key|value shortcut. "? Save" for detail
PWD Display current path
ACL List key's Security Descriptor information
OWN Take the ownership of a key
GROUP Replace the primary group of a key
CACL Change permissions of a key
SET SET [Option on/off] , can be found at [setup] in .ini
CONNECT connect [remotemachine]
LOCAL return connection to local machine
Commandline: -r [remotemachine] Connect to remote machine
-i Use user .ini file,eg: -i"D:\tools\my reg.ini"
------------------------------------------------------------
Features:
------------------------------------------------------------
GO/GOTO shortcut:
In regcmd.ini , there is a default section called [shortcut]:
[shortcut]
RUN=\HKLM\Software\Microsoft\Windows\Currentversion\Run
so you can just type:"go run" to goto such a deep keypath.
also, if you want to check some deep value,just append value name
to the key name,eg:
PROG1=\HKLM\Software\Microsoft\Windows\Currentversion\Run\prog1
GO prog1 will show value infomation of "prog1" under "run" key.
so PROG1 is called a value shortcut, RUN is called a key shortcut
------------------------------------------------------------
LOAD [section]:
Besides default shortcut section ,you can make other
sections like [shortcut.pc1],[shortcut.server1]...
LOAD ; without a parameter just load [shortcut]
LOAD server1 ; load [shortcut.server1]
------------------------------------------------------------
SAVE shortcut [appendvalue]:
Save current key(value) path to a shortcut in last loaded section.
:\HKLM\Software>SAVE soft
:\HKLM\Software>SAVE abc value
in regcmd.ini,there will be:
soft=\HKLM\Software
abc=\HKLM\Software\value
------------------------------------------------------------
SET TAB ON/OFF:
You can now use tab key auto complete function in regcmd
just like in NT cmd shell. Try "del,type,edit,cd ..." cmds!
So do not worry about typing such long line like:
{B41DB860-8EE4-11D2-9906-E49FADC173CA} ....
Note: When run in telnet environment,TAB ON should fail,it will
auto switch to TAB off mode.
------------------------------------------------------------
SET SHOWPATH ON/OFF:
Too long prompt? Use "SET SHOWPATH OFF" to turn it off.
Then you can use "PWD" or "CD" without parameter to show
current path name.
.....
------------------------------------------------------------
History:
0.91c 20070222
show remote ip even showpath is off (idea from fly on msgboard)
fix tab auto finish scrambled when wrap.(idea from fly on msgboard)
0.91b 20060504
Add "group" command to change key's primary group
Add "cacl" command to change permissions of a key
Change "own" command syntax
some user input use Myfgets_old()
Some inner function name changed
0.91a 20060429
Add "own keyname username" command to take ownership of a key
Fix a bug in ACL command(did not show ACL type) in 0.91
0.91 20060428
Add ACL command (and some security info function)
SET pause on/off
0.90 20060418
Add TAB auto finish to key|value when using some commands.
SAVE shortcuts now auto append shortcuts to buffer
CD without a parameter now == PWD
change some function/variable name
0.89 20060412
+ Add connect,local,pwd,load,save,set showpath command.
+ goto value shortcut function in go command.
! Fix bugs in gotokey()
! Other minor changes,code comment in src.
+ Full source code release.
0.88a 20060331 Full source code of 0.88a published.
0.88a 2004/03/21
! fix binary list bug(unsigned char) bug in dir/list !
! fix minor 'Bad binary format not-creating but give success-result' bug
! Split 'string' type to 'string' and 'expand_string' (important!)
0.87a 2004/03/10
+ Support wildcard(*) list in "dir/ls/list"
! Fix two minor bugs
0.86a 2003/06/12
! regcmd now search shortcut ini file in this order:
1. If user specified one in commandline switch -iC:\reg\reg1.ini
2. If one named "regcmd.ini" exists within the same the directory as regcmd.exe
3. If one named "regcmd.ini" exists in the Windows directory
0.86 2003/06/10
! Move all shortcuts from exe to regcmd.ini,so you can use you own shortcuts :)
View regcmd.ini for details. [Regcmd.ini is NOT essential for regcmd.exe,but
Regcmd.ini do helps Admins a lot!]
+ Due to disk disaster,I rewrite part of the source :~~(
- regcmd2.exe would not be included from now on.If you want,you can D/L at my page.
0.85a 2003/04/10
! Show counter of keys and values in (ListedCounter)/(AllCounter) format,
So TAKE CARE if you find: ListedCounter < AllCounter! (May be some keys or
values can not be listed or Some *Program* hide them!)
+ Add services1 and services2 shortcut command
0.85 2003/04/04
- lacl (current useless)
+ copy value to value
0.83 2003/03/22
+ Change to shell style,type 'h' to get online help
0.82c 2003/03/22
! Fix some bugs in 0.82b
0.82b 2003/03/08
+ Add Remote connection option
+ Add commanline switch /t to show last write time
! A small buffer enlarger
! Some minor changes and bug fixed
0.82 2003/03/05
! Fix wrong index bug!
! Fix bugs cannot create key and value under some host key.
! Enlarger some buffer.
! Change 'F' command to 'G'.
+ And [L]ist command.
+ Show selected value before edit.
+ Show Key's last write time.
+ Ask for sure when edit values.
0.81 alpha 2003/02/20
! First release
------------------------------------------------------------
Legal notes:
This program can be distributed freely as the program is freeware.
The author accept NO responsibility for any damaged caused by this
program or any of its files.
Full source code is released.Any distribution should include source.
Thanks to:
Txj(Thanks for many ideas and tests!)
HRL,Analysist,Jim McMahon,Alla Gelfand
Warning again:
*******************************************************************************
MODIFYING THE REGISTRY CAN CAUSE SERIOUS PROBLEMS! USE REGCMD ON YOUR OWN RISK!
regcmd may contains bug, USE REGCMD ON YOUR OWN RISK!
*******************************************************************************