Mengurus Berkas

Fungsi-fungsi dan pernyataan untuk memanajemen berkas dijelaskan di sini.

ChDir Statement

Mengubah direktori atau driver saat ini.

ChDrive Statement

Merubah drive saat ini.

CurDir Function

Returns a variant string that represents the current path of the specified drive.

Dir Function

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.

FileAttr Function

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

FileCopy Statement

Menyalin berkas.

FileDateTime Function

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

FileExists Function

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

FileLen Function

Returns the length of a file in bytes.

GetAttr Function

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

Kill Statement

Menghapus berkas dari disk.

MkDir Statement

Membuat direktori baru pada media data.

Name Statement

Mengubah nama berkas atau direktori.

RmDir Statement

Menghapus direktori dari media data.

SetAttr Statement

Mengeset informasi atribut untuk berkas yang ditentukan.