Page 1 of 1

Get Text file to only display files that include a word

PostPosted: Fri Sep 27, 2019 5:04 pm
by APerson
Hi,

I want to know how i can get a way to get a text file that contains the names of all the time that include a string in the file name.

So far i was able to get all the names from all the folders into one text file and saved in a variable called NAME.

the files names have random string sd24-dfew34-wf4r-... followed by fixed characters TPP, IOR followed by _ and other strings

i want to be able to make the 2nd text file only have names of files that have TPP for example.

The total number of random character is fixed to 30 characters, then the name i want and other part of the name i want followed by random 11 characters.

i want the final file to still have all these details but want to only grab files into the 2nd file that has TPP for example or IOR for another text file.


Thanks,

Ash Person

Re: Get Text file to only display files that include a word

PostPosted: Sat Sep 28, 2019 9:33 am
by Oleg
Maybe I don't understand your goal correctly

Could you give me the several examples of source strings and the result you want?