@echo off set/p"hex= > " ( echo.e 100 %hex% echo.d 100 echo.q )| debug > volc.txt FOR /F "Tokens=17" %%A IN ('type volc.txt ^| find "0100"') DO (set var=%%A) echo.%hex% Es = %var:~0,1% Espero les guste un poco :$, dandole un poco mas de uso al Debug ¬¬.