# FS_DIRMODE_*

## Definition

    #define FS_DIRMODE_SHORTNAME_ONLY   0x00001000UL

## Description

Constants used if specifying the access mode when opening a directory using the file system API.

FS_DIRMODE_SHORTNAME_ONLY | Indicates to handle only short file names. This will cause the `longname` and `longname_length` members of the `FSDirectoryEntryInfo` structure that can be obtained with `FS_ReadDirectory()` to be ignored and treated as empty strings. This setting is useful for speeding up the listing of directories in FAT-based archives such as NAND archives and SD Card archives, but ignores all directories when used with for archives like ROM archives that only contain long file names.

## See Also

`FSDirectoryEntryInfo
FS_OpenDirectory FS_ReadDirectory`

## Revision History

2008/07/09 Initial version.

CONFIDENTIAL