string - How to add empty space using batch script? -
is there way loop text file add empty space in front of each line?
commit.txt
commit c9bee merge: 7db author: tom date: fri mar 13 author: tim
output.txt
commit c9bee merge: 7db author: tom date: fri mar 13 author: tim
here's 1 solution:
for /f "delims=" %i in (file) @echo %i
note must double percents if use in script (as opposed interactive usage).
Comments
Post a Comment