Command line tool

ramfsctl drives the driver from the command line, for login scripts, scheduled tasks, deployment and build pipelines. With the default settings any user can run it; if Allow standard users to modify settings is turned off, run it from an administrator command prompt. Sizes are in bytes, so always append a unit (M, G); a bare number is taken literally.

Volumes

:: create a 4 GB volume on R:, label TEMP, two folders
ramfsctl create R 4G TEMP folders=Temp;Cache

:: with fast compression
ramfsctl create R 4G TEMP compress=fast folders=Temp;Cache

:: load from an existing image
ramfsctl create W 8G Work image=D:\images\work.img

:: dismount
ramfsctl dismount R

Optional keywords on create: nosec (no Windows permissions), norecycle (no Recycle Bin or system folders), compress=fast|normal|max (see Compression), image=path (see Image files), folders=a;b;c (created at mount).

Save and resize

:: save to the bound image (differential)
ramfsctl save R

:: save to a new file and rebind to it
ramfsctl save R D:\images\work.img

:: live resize
ramfsctl resize R 8G

Startup volumes

The auto command manages volumes recreated at boot, the same list the Add dialog's startup option feeds.

ramfsctl auto add R 4G TEMP folders=Temp;Cache
ramfsctl auto list
ramfsctl auto del R

Status and licensing

ramfsctl list :: mounted volumes, size and usage
ramfsctl iostats :: cumulative read/write counters
ramfsctl lifetime :: lifetime totals and peak speeds
ramfsctl license :: show state, or pass a key to activate
ramfsctl help :: list all commands