How to get this?
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