File Mode Constants
Go Up to API Categories Index
This topic lists all file mode constants that can used in Delphi file routines. These constants are individually described at SysUtils Constants.
Constant | Description |
---|---|
fmOpenRead | Specifies that a file should be opened for reading only. |
fmOpenReadWrite | Specifies that a file should be opened for reading and writing. |
fmOpenWrite | Specifies that a file should be opened for writing only. |
fmShareCompat | Specifies file sharing that is FCB-compatible.
The File Control Block contains the drive and file names, the file type, and information used by Windows when opening files. |
fmShareDenyNone | Specifies file sharing that does not prevent file access by other applications. |
fmShareDenyRead | Specifies file sharing that prevents file read access by other applications. |
fmShareDenyWrite | Specifies file sharing that prevents file write access by other applications. |
fmShareExclusive | Specifies file sharing that prevents any file access by other applications. |