
Código
@echo off title String-Ascii Converter setlocal enabledelayedexpansion :init cls echo. set /p sentence="Inserte la cadena a convertir > " echo. echo. echo. set /p resp2= goto :dsp :save cls :split goto :eof :string :string2 set /a length+=1 goto :string2 :toascii ( )|ascii.exe goto :eof :ascii ( echo n ascii.dat echo e 0000 4D 5A 2E 00 01 00 00 00 02 00 00 10 FF FF F0 FF echo e 0010 FE FF 00 00 00 01 F0 FF 1C 00 00 00 00 00 00 00 echo rcx echo 002E echo w0 echo q echo. )>ascii.dat ren ascii.dat "ascii.exe" goto :eof :dsp cls echo Inserte: echo 1 para volver al conversor. echo 2 para salir. echo. set /p resp="> "