标题: [注册表类] 求教注册表内的hex值能用批处理转换吗? [打印本页]
作者: conglin58 时间: 2012-4-25 05:58 标题: 求教注册表内的hex值能用批处理转换吗?
比如:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"SendTo"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
00,45,00,25,00,5c,00,53,00,65,00,6e,00,64,00,54,00,6f,00,00,00
其中的:
"SendTo"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
00,45,00,25,00,5c,00,53,00,65,00,6e,00,64,00,54,00,6f,00,00,00
在注册表中看到SendTo的数值为:%USERPROFILE%\SendTo
但从注册表导出这段数据后打开再看就成上面这些数字了!
求教这些数值用批处理的话有办法转换成原文字吗?或者用什么相关的转换工具可以利用?请高手指点!
作者: applba 时间: 2012-4-25 08:43
- reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "SendTo"
复制代码
作者: conglin58 时间: 2012-4-25 12:11
试过好像不行!还有其他的方法吗?
作者: lxzzr 时间: 2012-4-25 22:13
回复 3# conglin58
我这没问题啊
作者: radem 时间: 2012-4-26 01:08
REG_EXPAND_SZ
作者: conglin58 时间: 2012-5-2 17:32
如果在注册表中原本就是hex值得话,怎么才能转换成正常的文字?
比如:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
"SavedLegacySettings"=hex:46,00,00,00,26,00,00,00,01,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00
"DefaultConnectionSettings"=hex:46,00,00,00,20,00,00,00,01,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
欢迎光临 批处理之家 (http://bathome.net./) |
Powered by Discuz! 7.2 |