Skip to content

dos_filesys

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns the file system of the specified drive; either FAT, FAT32, NTFS, HPFS, CDFS, or a network drive.

Syntax

(dos_filesys [drive])

Parameters

drive

The drive name (for example, C:, D:). If not specified, the current drive is used.

Returns

A string identifying the file system if successful.

nil on error.

Example

Command: (dos_filesys)
"NTFS"

Command: (dos_drive "F:")
"CDFS"

Clone this wiki locally