Previous - File System Section Home - File System Next - sysFileList


sysFileExist ( )

Checks if a file exists on the current file system

Usage:

sysFileExist (object me, string filePath )

Parameters:

filePath (string) - a string specifying the path of a file to check

Returns:

(boolean):

True - file exists
False - file does not exist

Example:

xtRose = xtra("Rosetta").new( )
if xtRose.sysFileExist( "c:\windows\win.ini" ) then
  alert "file exists"
end if

Notes:


Previous - File System Section Home - File System Next - sysFileList