Search found 3 matches

by Bok
11 Sep 2014 08:34
Forum: DOS Batch Forum
Topic: Combine Files
Replies: 5
Views: 4550

Re: Combine Files

I just put it in and I got lucky- it worked; but, you are correct
I should use the "&". It's been ~20yrs since I've done batch
and I've forgotten so much and so much has changed
by Bok
11 Sep 2014 07:39
Forum: DOS Batch Forum
Topic: Combine Files
Replies: 5
Views: 4550

Re: Combine Files

Thanks so much.I would have never gotten that. I modified it with a pipe "|". It is less clear to read, but is 2 less lines long. FOR %%G in (*.pas) do (type "%%~G">> combined.txt | echo ************>>combined.txt) I used to do a VERY LITTLE bit of batch work way back in Win 3.0 ...
by Bok
11 Sep 2014 06:33
Forum: DOS Batch Forum
Topic: Combine Files
Replies: 5
Views: 4550

Combine Files

Hello! (Using Win 7 64 bit) I have dozens of "*.pas" files in a single directory. I want to merge all the "*.pas" files together into one large file called "Combined.txt" in that same directory. I want a line of astericks "************" to be written to "...