MS JScript JavaScript Tutorial

Syntax

filesystemobject.FileExists(filename)
The FileExists() method determines whether a file exists.
This method takes filename as its only parameter.


    
    
    
    
    Check for file "test.txt"