FNAMEMAX( )
Returns the maximum allowable file-name length on a given drive or volume.
Syntax
FNAMEMAX( [<expC>] )
<expC>
The drive letter (with a colon), or name of the volume, to check. If <expC> is not provided, the current drive/volume is assumed. If the drive/volume does not exist, an error occurs.
Description
FNAMEMAX( ) checks the drive or volume specified by <expC> and returns the maximum file-name length (including the dot and three-letter extension) allowed for files on that drive/volume. Typical values are:
FNAMEMAX( ) |
Drive type |
255 |
Windows long file name |
12 |
MS-DOS-compatible 8.3 name |
240 |
Novell Netware long file name |