| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| External commands | YES | NO | NO | Windows,Linux |
Note: The flag is set according to whether Omnis was able to make a call to this external command.
This command returns kTrue if the specified file or folder exists, otherwise it returns kFalse. The file or folder must specify the full path.
See also, the command Test if file exists.
CalculatelPathnameascon(sys(115),'html',sys(9),'serverusagetask.htm')
CalculatelNewPathascon(sys(115),'html',sys(9),'serverusagetask2.htm')
Copy file(lPathname,lNewPath)ReturnslErrCode## copies the file in lPathName to the filename contained in lNewPathDoes file exist(lNewPath)ReturnslStatus## see if the file exists
IflStatusDelete file(lNewPath)ReturnslErrCode## delete it
End If