|
-
Nov 30th, 1999, 07:03 PM
#1
Thread Starter
Addicted Member
How can I check to see if a directory exists ?
-
Nov 30th, 1999, 07:30 PM
#2
Lively Member
Use the dir() function, i.e. to see if d:\tmp exists use
If Dir("d:\tmp", vbDirectory) <> "" Then
MsgBox "Dir exists"
Else
MsgBox "Dir does not exist"
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|