IONamespaceEncodingsText encodingsExtensionsDisk file extensionsFileFormatsDisk file formatsFoldersCommon file folders for the program and operating systemClassFileEntryA volume directory entryNexusDescribes a nexus file structureProcessOptions for process executionProcessResultResults of a process runFunctionbool CreateFolder(path)Create a folder path on diskbool DeleteFile(path)Delete a disk pathDomain(value)A web domain (e.g. www.shop.com)FileEntry[] EnumerateFiles(folder, filter=null)Get a directory listing of filesFileEntry[] EnumerateFolders(folder, filter=null)Get a directory listing of foldersExtension(value)A file name extension (e.g. .txt)bool FileExists(value)Returns true if the file existsFileName(value)A file name
Folder(value)A folder or directory namebool FolderExists(value)Returns true if the folder existsstring GetFileExtension(value)Extracts the file extension (without the '.')string GetFileName(value)Extracts the filename from a pathstring GetFileNameWithoutExtension(value)Extracts the filename from a path and removes extension if anystring GetFolder(value)Extracts the folder from the pathstring GetFullPath(value)Returns the fully qualified pathstring GetNytrilPath(value)Gets the path with '\' replaced by '/'string GetWindowsPath(value)Gets the path with '/' replaced by '\'bool HasFileExtension(value, extension)Returns true if filename contains the extension (regardless of the '.')bool OpenDocument(path, arguments=null)Cause the shell to open the file with its default viewerbool OpenExplorer(path)Open the file explorer and focus on the pathblob ReadBlob(path_or_blob, int offset=null, int length=null)Read file contents into a blobReadDocument(path_or_blob, FileFormat fileformat=null)Read a document file from a pathReadJSON(path_or_blob)Read a JSON file and return the root objectIO.Nexus ReadNexus(path_or_blob, Attribute prop=null)Read a nexus fileScriptBuild ReadScript(path_or_blob)Read a nytril script file from a pathstring ReadString(path_or_blob, FileFormat encoding=null)
Read a file into a stringNode ReadTree(path_or_blob, Attribute prop=null)Read a tre fileVolume(value)A disk volume (e.g. C:)bool WriteDocument(value, path, FileFormat fileformat=null)Write the value to a document filebool WriteString(value, FileFormat encoding=null)Write the value to a string