How to check whether the file is existing or not?
How to know whether the file is existing or not in a folder (for instance, "C:\WINDOWS\Downloaded Program Files\")?
Re: How to check whether the file is existing or not?
some thing like this, then you standing in C:\...\..files\:
Dim fso, msg
Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.FileExists(filespec)) Then
msg = filespec & " exists."
msg = filespec & " doesn't exist."