codice:
If Dir$(nomefile) = "" Then
    'il file non esiste
Else
    'il file esiste
End If