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

Mengembalikan varian string yang mewakili jalur saat ini dari drive yang ditentukan.

Dir Function

Mengembalikan nama file, direktori, atau semua file dan direktori pada drive atau dalam direktori yang cocok dengan jalur pencarian yang ditentukan.

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.