Enable JavaScript in the browser to display LibreOfficeDev Help pages.

cL6Jm‖Managing Files

E5FsL‖The functions and statements for managing files are described here.

fFyj5‖ChDir Statement

yr6FQ‖Changes the current directory or drive.

eHmCk‖ChDrive Statement

mdSba‖Changes the current drive.

jm6JP‖CurDir Function

e8mAC‖Returns a variant string that represents the current path .

DfqBo‖Dir Function

Xrc6C‖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.

Xd6Wc‖FileAttr Function

eWQDF‖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).

xXPBx‖FileCopy Statement

cgLqA‖Copies a file.

xMEL7‖FileDateTime Function

8fZwF‖Returns a string that contains the date and the time that a file was created or last modified.

DMA45‖FileExists Function

FkmEu‖Determines if a file or a directory is available on the data medium.

6Pt5C‖FileLen Function

aJChP‖Returns the length of a file in bytes.

FAzGr‖GetAttr Function

WnrAC‖Returns a bit pattern that identifies the file type or the name of a volume or a directory.

DXtQk‖GetPathSeparator Function

dWBDB‖Returns the operating system-dependent directory separator used to specify file paths.

aKxRG‖Kill Statement

gJGP8‖Deletes a file from a disk.

BAJt5‖MkDir Statement

CPbSZ‖ MkDir Statement diagram

ruXou‖Creates a new directory on a data medium.

G2wMY‖Name Statement

H2NFb‖Renames an existing file or directory.

Zctny‖RmDir Statement

VRYbm‖Deletes an existing directory from a data medium.

LvBHq‖SetAttr Statement

XPYqB‖Sets the attribute information for a specified file.