file name taken in a textbox without extension and want to check that it already present in a specified directory. if exists want to display an error msg.. i have following code with me.
The text of this thread is not in this database — only its details are. Read it on the old site: file name taken in a textbox without extension and want to check that it already present in a specified directory. if exists want to display an error msg.. i have following code with me.
VulpesPosted Sep 7, 2012, 4:38 AM
FroglegPosted Sep 7, 2012, 2:58 AM
if(File.Exist("C:\myfile.txt"))
{
//do whatever
}