append lines of text

June 21, 2011 at 08:59:22
Specs: Windows XP
append lines of text
ive got a file with
12345
12344
12123
......... etc
how could i apend the lines into 1 string
123451234412123

See More: append lines of text

Report •

#1
June 21, 2011 at 14:08:14
@echo off
setlocal EnableDelayedExpansion

for /f "tokens=* delims=" %%a in (String.txt) do (
set String=!String!%%a
)
echo %String%


Report •
Related Solutions


Ask Question