Check If File Exists using VB Script
Public Function IfFileExist (sFilePath)
On Error Resume Next
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(sFilePath)="False" Then
IfFileExist ="False"
Else
IfFileExist="True"
End If
End Function
Public Function IfFileExist (sFilePath)
On Error Resume Next
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(sFilePath)="False" Then
IfFileExist ="False"
Else
IfFileExist="True"
End If
End Function
I have a great fun reading your blogs.Thank you for making this beautiful and awesome blogs. Hope to read more post from you in the future. Please dont forget to visit me in my site @ www.imarksweb.org. Thank you.
ReplyDelete