|
-
Jan 12th, 2000, 05:49 AM
#1
Thread Starter
Member
What is the most efficient way to determine if a given file exists?
-
Jan 12th, 2000, 05:54 AM
#2
New Member
If Dir(filepath) = "" then NoFileExists
-
Jan 12th, 2000, 05:55 AM
#3
Code:
If Len(Dir("C:\FilePath\FileName.ext")) Then
MsgBox "File Exists"
Else
MsgBox "File Doesn't Exist"
End If
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Jan 12th, 2000, 05:56 AM
#4
Thread Starter
Member
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
|