How would you check to make sure the directory the user has entered is valid? I'm using the dir method to check but, it says an invalid directory exists. Here's the statement I'm using:
<font class="small">Code:</font><hr /><pre>
if dir("c:\data") = "" then
msgbox "Directory found"
msgbox "No directory was found"
I run it with both a valid directory and an invaid one and, it displays the first msgbox for both. What am I doing wrong? Any help would be appreciated