![]() |
| Home |
|
|
Directory FilesUnlike DOS, RTFiles-32 allows opening directories as files. There are only a few differences to data files. Directories must be opened in read-only mode. The name of a root directory is X:\ (with X being the drive letter) while the name of any subdirectory is the subdirectory's file name, and directory files do not have a current file size. Instead, their allocated file size is used. Directory files can be useful for scanning directories for entries not accessible through RTFFindFirst and RTFFindNext (e.g., deleted file entries, etc.).
|