Function group Execute on client Platform(s)
FileOps NO All




Creates and opens an empty file with pathname cFilePath (replaces an existing file with an empty file). For macOS, cType and cCreator are file and creator types for new file. Returns kTrue for success

If the file already exists, $createfile() replaces it with an empty file. All directories in the pathname specified in the cFilePath parameter must already be present. The optional parameters are only available on macOS.