Advertisement
ASP_Volume3 Files/ File Controls/ Input/ Output #63420

Basic FileExist

Check to see if a File exists, simple code

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Dim Script As Object
Set Script = CreateObject("Scripting.filesystemobject")
If Script.FileExists("C:\My Documents\Prog.exe") = True Then
'True code here
Else
'False code here
End if
Commenti originali (3)
Recuperato da Wayback Machine