Hi,
I have the List of files in the directory on picture, How do i search for the file with the keyword “7.” and get the full filename?
Hey @samarasenja ,
Use the below method to get all the file, for which the name is starting with 7.
FilesArray = Directory.GetFiles(folderPath, "7*.*")
Once you have all the files starting with 7 in an array, use for each activity and inside that use the below code
fileName = Path.GetFileName(file)
Thanks,
Sanjit
HI,
Doesn’t the following post work for you?
Regards,
Not yet, can yo describe flow?
can you describe flowchart?
HI,
I just uploaded a simple sample in the following post
Regards,