FileExist (Magic xpi 4.9)
Checks whether a specified file or folder exists on a drive, and returns a Boolean (TRUE, FALSE).
Syntax:
|
FileExist(Alpha filespec)
|
Parameter:
|
filespec: An Alpha string that represents the file or folder specification. The string may contain a path. If the path is not indicated, the current directory is used.
|
Returns:
|
Boolean (TRUE, FALSE).
|
Example:
|
FileExist('c:\magic\magic.ini') returns TRUE if the Magic.ini file exists in the C:\Magic xpi directory.
|