regini.exe用脚本修改注册许可
用expand.exe命令提取regini.exe:%SystemRoot%System32EXPAND.EXE "\?CDROM0I386regini.ex_" "C:regini.exe"
使用方法
先打开regedit.exe,以便观看每步产生的变化,将如下内容复制到记事本中,保存为example01.txt、example02.txt文件,然后用如下命令:
REGINI.EXE example01.txt
REGINI.EXE example02.txt
:::::::
example01.txt :::::::::: 不要复制我,我是分割线开始 ::::::::::::::::::::
HKEY_CURRENT_USERexample0
HKEY_CURRENT_USERexample0
"example1" =
REG_DWORD 1
HKEY_CURRENT_USERexample0
"example2" = REG_SZ "This is an
example!"
HKEY_CURRENT_USERexample0
"example3" = REG_MULTI_SZ "This is
the first line!" "This is the second line!" "This is the third line!"
HKEY_CURRENT_USERexample0
"example4" = REG_EXPAND_SZ "This is an
example! This is an example! This is an example! This is an example! This is an
example!"
::::::: example01.txt :::::::::: 不要复制我,我是分割线结束
::::::::::::::::::::
::::::: example02.txt :::::::::: 不要复制我,我是分割线开始
::::::::::::::::::::
HKEY_CURRENT_USERexample0 [2 8 19]
::::::: example02.txt :::::::::: 不要复制我,我是分割线结束 ::::::::::::::::::::
修改第一个脚本,再运行试试:
REGINI.EXE example01.txt
没反应,看来已经起作用了,键值变成只读的了!
网友评论 查看所有0条评论>>