memefs command with various options to configure the RAM disk behavior.
Usage syntax
Required options
At minimum, you must specify either a mount point (-m) for disk mode or a UNC prefix (-u) for network mode.
Command-line flags
-s MaxFsSize
Type: Integer (64-bit) Default: 0 (unlimited) Description: Specifies the maximum total memory size for the filesystem in bytes. If not specified or set to 0, the filesystem has no memory limit.0x40000000).
-m MountPoint
Type: String Default: None Description: Specifies the drive letter or mount point for the RAM disk. Use* to automatically select an available drive letter. Required if no UNC prefix is specified.
-i
Type: Flag (no value) Default: Case-sensitive Description: Enables case-insensitive file system behavior. When enabled, files likeREADME.txt and readme.txt are treated as the same file.
-f
Type: Flag (no value) Default: Disabled Description: Enables flush and purge cache on cleanup. This ensures that file system buffers are flushed and purged when files are closed.-F FileSystemName
Type: String Default: System default Description: Specifies the file system name reported to Windows. This affects how the file system appears in system properties and tools.-l VolumeLabel
Type: String Default: None Description: Sets an optional volume label name for the RAM disk. This label appears in File Explorer and system tools.-u \Server\Share
Type: String (UNC path) Default: None Description: Specifies a UNC prefix for network mode. Use a single backslash in the actual command. When specified, the filesystem operates in network mode instead of disk mode.-S RootSddl
Type: String (SDDL) Default: None Description: Specifies Security Descriptor Definition Language (SDDL) for root directory permissions. Use file rights likeFA (File All Access). Generic rights like GA are not supported.
-d DebugFlags
Type: Integer Default: 0 (no debug output) Description: Enables debug logging with specified flags. Use-1 to enable all debug logs.
-D DebugLogFile
Type: String (file path) Default: None Description: Specifies a file path for debug log output. Use- to output to stderr.