Get Text file to only display files that include a word

Discuss RoboTask here
Post Reply
APerson
Posts: 1
Joined: Fri Sep 27, 2019 4:58 pm

Get Text file to only display files that include a word

Post 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
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

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

Post 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?
Oleg Yershov
Post Reply