jesse1981
5/8/2013 - 12:14 AM

Check to see if a file exists

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