Skip to content

Instantly share code, notes, and snippets.

@jesse1981
Created May 8, 2013 00:14
Show Gist options
  • Select an option

  • Save jesse1981/5537250 to your computer and use it in GitHub Desktop.

Select an option

Save jesse1981/5537250 to your computer and use it in GitHub Desktop.
Check to see if a file exists
function checkExists (filepath)
dim fs, result
set fs = createObject("Scripting.FileSystemObject")
result = fs.fileExists(filepath)
set fs=nothing
checkExists = result
end function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment