> Is there a way to cause NOTEPAD++ to combine all the files in the
directory
> into a single file with some separator line between each file?

Binyamin Dissen,

Why not use the good old DOS commands in batch to combine all the text
files into a single with header of the file name?


1. Save the following as combtxt.bat in the same directory as your text
files

del combined.txt

for %%I in (*.txt) do (
    echo %%~fI >> combined.tmp
    type "%%I" >> combined.tmp
    echo. >> combined.tmp
    )

ren combined.tmp combined.txt

2. Open DOS prompt and CD to the directory of your text file and issue the
command comtxt.bat and all your .txt files will be combined into a single
file with the header record of the file path.

3. Now FTP/send  the combined.txt file to your mainframe


Thanks,
Kolusu

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to