Public Function FileExists( _ ByVal vFileName As Variant _ , Optional ByVal vAttributes As Variant _ ) As Boolean
FileExists("C:\COMMAND.COM") = True FileExists("C:\FILE0000.CHK") = FalseSee also:
Dir$ Function (Visual Basic)vFileName: Name of the file or directory that will be checked for existence. Function returns False if vFileName is Null or cannot be fixed-up to a String. vFileName can contain the DOS Wildcard characters "*" and "?".
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.