Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
gerhardl
Creator II
Creator II

load specific files if they are in a list

Hi There,

If I have a text file with file names in it, how can I use this in my load script so that I only load the files listed in that text file, from a folder with hundreds of files?

Example:

I have a text file located on my C Drive called 'FileList.txt', and it has the following records in it.

File1.txt

File2.txt

File3.txt

Then I have a folder with hundreds of files, including the above 3 files.

I want to load FROM this folder, but only looking at these 3 files.

2 Replies
Anonymous
Not applicable

gerhardl
Creator II
Creator II
Author

Hi,

Thats ia actually my post, and I haven't been anle to get it right... this is just another way of me trying to do that.

Can you maybe help me with some code that will do the above? I've bee struggling for 2 days with this.