Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- set text=
- set newline=^& echo.
- FOR /F %%i in (numbers.txt) DO (
- set tempVar=%%i
- set tempVar=!tempVar:~1!
- set tempVar=1!tempVar!^!newline!
- set text=!text!!tempVar!
- )
- echo %text%
Advertisement
Add Comment
Please, Sign In to add comment