I am trying to search for a file in a folder in a folder.
For example: I want to search for a file in the :A folder->B,C folder->B,C folder. I am trying to do {A PATH,B PATH} in the form of a list.
I am trying to search for a file in a folder in a folder.
For example: I want to search for a file in the :A folder->B,C folder->B,C folder. I am trying to do {A PATH,B PATH} in the form of a list.
int count = Directory.GetFiles(“D:\RPA\Priyanka\Testing”, “ZIPfolder*”, SearchOption.AllDirectories).Length
if (count <=0) - Not exist
Else - Exist