G Guest Jul 15, 2004 #1 i am writing a Console app, it needs user to input a path. the problem is how can i validate the user input path is valid or not? many thanks.. Kel
i am writing a Console app, it needs user to input a path. the problem is how can i validate the user input path is valid or not? many thanks.. Kel
S Shakir Hussain Jul 15, 2004 #2 Try this bool exists = System.IO.Directory.Exists(@"c:\myPath"); -- Shak (Houston) kelkel said: i am writing a Console app, it needs user to input a path. the problem is Click to expand... how can i validate the user input path is valid or not?
Try this bool exists = System.IO.Directory.Exists(@"c:\myPath"); -- Shak (Houston) kelkel said: i am writing a Console app, it needs user to input a path. the problem is Click to expand... how can i validate the user input path is valid or not?