Get Text file to only display files that include a word

Discuss RoboTask here

Get Text file to only display files that include a word

Postby APerson » Fri Sep 27, 2019 5:04 pm

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
APerson
 
Posts: 1
Joined: Fri Sep 27, 2019 4:58 pm

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

Postby Oleg » Sat Sep 28, 2019 9:33 am

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


Return to General Discussion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 13 guests

cron