Question: how to check if file exists in vbscript?
Answer: Function FileExists(FilePath) Set fso = CreateObject("Scripting.FileSystemObject") If fso. FileExists(FilePath) Then. FileExists=CBool(1) Else. FileExists=CBool(0) End If. End Function.