Syntax
int fileexists ( string path )
int access ( string path )
Description
fileexists or access() determines whether the file fn or path exists on the policy server.
Returns true if the path name exists, false if not.
Example
if (fileexists("/opt/quest/pmc") ) { print ("PMC is installed."); }
if (access("/opt/quest/pmc") ) { print ("PMC is installed."); }