Public Function fCheckFNLength(strFilename As String) As Boolean
'
' This routine verifies that the length of the filename strFilename is valid.
' Under NT (Intel) and Win95 it can be up to 259 (gintMAX_PATH_LEN-1) characters
' long. This length must include the drive, path, filename, commandline
' arguments and quotes (if the string is quoted).
'
fCheckFNLength = (Len(strFilename) < gintMAX_PATH_LEN)
End Function
Share:
These icons link to social bookmarking sites where readers can share and discover new web pages.
