hello, I want to know how can I check if a folder exists. can anyone pls help? thanks
Dekel C.
Try this. Code: string path = "C:\\Myfolder"; if(Directory.Exists(path)) { MessageBox.Show("It exists"); } else { Messabebox.Show("doesnt Exist"); } -FPP
string path = "C:\\Myfolder"; if(Directory.Exists(path)) { MessageBox.Show("It exists"); } else { Messabebox.Show("doesnt Exist"); }
Forum Rules