Hello Everyone, I am new around here and have run into a slight scripting problem.
I am writing a small app that will look in a folder, read all the text files in the folder, and write their contents into a new file. I have most of the code worked out but am having trouble getting it to read more than one file.
The Basic Flow of my program is to validate all the folders used, create the empty text file for writing, then (the plan is) loop through each text file in the source folder reading it and writing the contents to the new file.
Can anyone give me some pointers on how to read more than one file?
Any help would be greatly appreciatted. Thanks.
Derkus
I am writing a small app that will look in a folder, read all the text files in the folder, and write their contents into a new file. I have most of the code worked out but am having trouble getting it to read more than one file.
The Basic Flow of my program is to validate all the folders used, create the empty text file for writing, then (the plan is) loop through each text file in the source folder reading it and writing the contents to the new file.
Can anyone give me some pointers on how to read more than one file?
Any help would be greatly appreciatted. Thanks.
Derkus