rem para el fichero c:\fichero.txt for %%A in (c:\fichero.txt) do set eltamano=%%~zA set /A otrotamano=1200 rem ...