Enable JavaScript in the browser to display LibreOfficeDev Help pages.
Managing Files
The functions and statements for managing files are described here.
Changes the current directory or drive.
Changes the current drive.
Returns a variant string that represents the current path or that of the specified Windows drive.
Returns the name of a file, a directory, or all of the files and the directories on a drive or in a directory that match the specified search path.
Returns the access mode or the file access number of a file that was opened with the Open statement. The file access number is dependent on the operating system (OSH = Operating System Handle).
Returns a string that contains the date and the time that a file was created or last modified.
Determines if a file or a directory is available on the data medium.
Returns the length of a file in bytes.
Returns a bit pattern that identifies the file type or the name of a volume or a directory.
Returns the operating system-dependent directory separator used to specify file paths.
Deletes a file from a disk.

Creates a new directory on a data medium.
Renames an existing file or directory.
Deletes an existing directory from a data medium.
Sets the attribute information for a specified file.