
CODE: [Copy to clipboard]@echo off&pushd %tmp%
SET S="%*"
if not exist t findstr "'%sep%'" "%~f0" >t
for /f %%a in ('cscript -e:vbs t %S%') do SET R=%%a
SET/P=%R%
popd
exit/b
s=wscript.arguments(0)''
for i=1 to len(s)''
o=hex(ascw(mid(s,i,1)))''
if len(o)=2 then o=o&"00"''
h=h&o''
next''
wscript.echo(h)''
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |