hi
i want to search using C# like i give it the name and it give me the path so i can open it or delete it ...ETC
i want a method to make this directly not through open file dialog
i have a text box to make the user type the name of the folder/file and button to search
is it by an algorithm or there are any library in C# to do that give me any hints :)
Javeed M ShaikhPosted Apr 29, 2013, 2:05 PM
include this
System.IO;
you have the following methods:
File.Exists --> to check if the file exists
File.Delete --> to delete the file
File.Open --> to open the file.