开发者

Windows based ASCII to Hex CLI Converter

I am in need of a CLI interface in which I can convert a password to binary for insertion into the registry.

I have a few hundred Outlook Express's to set up and the passwords need to be in format REG_BINARY I have them in plain text but they need to be converted so I can ins开发者_如何学运维ert them via a .reg file. Which will be generated by a series of .bat files.

In Linux the command:

echo -n 'text' | xxd -ps | sed 's/[[:xdigit:]]\{2\}/\\x&/g'

Does the job nicely, but in windows is there any such niceness?

Preferably a CLI program or command that I can just pass a value to but if needs be I would use VBS...

Thanks!

Myles


Maybe this is overdoing it, but you could install Cygwin and use the exact same commands you would use in Linux.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜