- @echo off&setlocal enabledelayedexpansion
- set r=687474703A2F2F7777772E626174686F6D652E6E65742020C5FAB4A6C0EDD6AEBCD2
- :a
- if not "!r:~%a%,2!"=="" (
- set s=!s!!r:~%a%,2!#&set/a a+=2,b=a%%32
- if !b!==0 set "s=!s! "
- goto:a
- )
- set P=0123456789ABCDEF&set/a a/=2,b=15
- call:c %a%
- set r=%f%
- :b
- (for %%a in (%s%) do (
- set a=%%a&set/a b+=1
- call:c !b!
- set f=0!f!0
- echo e!f:~-4! !a:#= !
- )
- for %%a in (rcx %r% n$tmp w q) do echo %%a)>$tmp_
- type $tmp_|debug&graftabl 936 >nul
- move $tmp "c:\1.txt"
- del $tmp_&exit
- :c
- set f=&set d=%1
- :d
- set/a r=d%%16,d/=16
- set f=!P:~%r%,1!%f%
- if not %d%==0 goto:d
复制代码
[ 本帖最后由 hanyeguxing 于 2011-1-23 00:09 编辑 ] |