MaxFileNameLength Property

The maximum filename length supported by the virtual filesystem.


int GetMaxFileNameLength();
int SetMaxFileNameLength(int iMaxFileNameLength);
INT GetMaxFileNameLength();
INT SetMaxFileNameLength(INT iMaxFileNameLength);

Default Value



This property specifies the virtual filesystem's maximum supported filename length, measured in characters. Setting this property to a value less than its default of 260 characters, which corresponds to Windows' MAX_PATH constant, is not recommended.

Note: This property cannot be changed after a virtual drive is created, and cannot be changed within events.

Data Type


Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 C++ Edition - Version 20.0 [Build 7545]