[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[注册表类] 批处理如何将注册表中的二进制转成字符?

c:\>reg query HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explor
er\Discardable\PostSetup\ShellNew /v 文本文档

! REG.EXE VERSION 3.0

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable
\PostSetup\ShellNew
    文本文档    REG_BINARY      000000000000000000000000000087652C67876563680000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000002E00
7400780074
0000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000007400
78007400660069006C0065
0000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000FFFFFFFF000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000


c:\>

好像是根据ASCII来的。见过字符转ASCII,没见过ASCII转字符,貌似只有用事先一一定义的方法了。除非借助第三方~
心绪平和,眼藏静谧。

TOP

听说是UNCODE编码。那...字符如何转UNCODE编码?

TOP

  1. @echo Off
  2. set "chars=74 78 74 66 69 6c 65"
  3. For %%a in (%chars%) do (chr.exe %%a)
  4. Pause>nul
复制代码
chr.exe ;==>http://pusofalse.ys168.com/  swd:bathome
1

评分人数

心绪平和,眼藏静谧。

TOP

返回列表