Advertisement
5_2007-2008 Files/ File Controls/ Input/ Output #191235

Basic FileExist

Check to see if a File exists, simple code

AI

Résumé par IA: 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.

Code source
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
Commentaires originaux (3)
Récupéré via Wayback Machine