4

I need help to take the line breaks from my text file.

example data:

mango apple grapes peanut
mango apple grapes peanut
mango apple grapes peanut
mango apple grapes peanut

desired output:

mango apple grapes peanut mango apple grapes peanut mango apple grapes peanut mango apple grapes peanut

It will only work if it is on one line.

Jameson
  • 6,400
  • 6
  • 32
  • 53
user1864359
  • 41
  • 1
  • 2

1 Answers1

5
@Echo OFF

:: By Elektro H@cker

FOR /F "Usebackq Tokens=*" %%@ IN ("File.txt") DO (
    <NUL Set /P "=%%@"
)

Pause&Exit
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417