Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript FileSystemObject Object FileExists Method

Returns True if a specified file exists, False if it does not.

Syntax: JScript FileSystemObject Object FileExists Method

object.FileExists(filespec)

Arguments: JScript FileSystemObject Object FileExists Method

object

The name of a FileSystemObject object. Required.

filespec

The name of the file whose existence is to be determined. A complete path specification (either absolute or relative) must be provided if the file isn't expected to exist in the current folder. Required.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.