How to pick exact file from shared location?

How to get this?

Hi @aparna3010
Can you say this in detail?
Cheers

I just need to put the exact file that is fileA.txt something like this dont need the whole path

@aparna3010
You can get all text file in string array and apply condition inside for each.

strArray = Directory.getFiles(“you_files_path”, “*.txt”)
For each file in strArray{
if file.contains(“fileA.txt”){
// do what you want
}
}

1 Like