I have a text file inside a drive. Probably inside a folder in the drive. I know the filename and drive name. I searches the file occurance through
var file = Directory.GetFiles(ftpPath,fileName,SearchOption.AllDirectories);
That is ok. But if the file is in a folder under the drive how could I get the ne path in ftpPath
variable?
I could not find any valid solution for this.