how do i combine paragraphs batch

April 22, 2011 at 02:58:41
Specs: Windows Vista
how do i make two paragtaphs into one

See More: how do i combine paragraphs batch

Report •

#1
April 22, 2011 at 07:20:44
1.Copy and paste.
2. add to beginning...
@echo off
setlocal
set addtext=copy 
for /f "delims=" %%a in (dir.txt) do (echo/|set /p =%addtext%%%a & echo\ & echo\) >>new.txt
3. add to end..
@echo off
setlocal
set addtext= destination
for /f "delims=" %%a in (new.txt) do (echo/|set /p =%%a%addtext% & echo\ & echo\) >>finish.txt

2 and 3 were posted here on cnet some time ago by someone else. Credit for 2 and 3 belongs elsewhere.

Report •
Related Solutions


Ask Question