FileSystemName Property

The name of the virtual filesystem.

Syntax

ANSI (Cross Platform)
char* GetFileSystemName();
int SetFileSystemName(const char* lpszFileSystemName); Unicode (Windows) LPWSTR GetFileSystemName();
INT SetFileSystemName(LPCWSTR lpszFileSystemName);
@property (nonatomic,readwrite,assign,getter=fileSystemName,setter=setFileSystemName:) NSString* fileSystemName;
- (NSString*)fileSystemName;
- (void)setFileSystemName:(NSString*)newFileSystemName;
#define PID_CBDRIVE_FILESYSTEMNAME 18

CBFSSTORAGE_EXTERNAL void* CBFSSTORAGE_CALL CBFSStorage_CBDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSSTORAGE_EXTERNAL int CBFSSTORAGE_CALL CBFSStorage_CBDrive_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

"FAT32"

Remarks

This property specifies the name of the virtual filesystem. Windows, and some other applications, use this name to identify the filesystem.

In general, the filesystem name can be any reasonable string up to 10 characters in length. However, some versions of Windows, and some third-party programs, may behave differently when they encounter an unknown filesystem name (i.e., anything other than FAT, FAT32, exFAT, NTFS, etc.). Applications should keep this restriction in mind when choosing a filesystem name.

This property is set to FAT32 by default, which may cause some applications to fail when attempting to copy large (>4GB) files to and from the virtual drive. It is recommended that applications set this property to exFAT if such issues occur.

Note: This property cannot be changed when Active is true, and cannot be changed within events.

This property is not available at design time.

Data Type

String

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