I do not want to mount an image, I want to perform some actions on an existing ramdisk from the command line without having to interact with the DiskMasterUI.exe application.
I found these possibly helpful items in appmsg.ini:
7=Mount
8=Unmount
9=Create ramdisk
9_1=Start creating ramdisk
9_2=Finish creating ramdisk
10=Create virtual disk
10_1=Start creating virtual disk
10_2=Finish creating virtual disk
11=Start ramdisk
12=Stop ramdisk
13=Set temporary directory to ramdisk
14=Reset temporary directory to default
15=Add virtual disk
16=Remove virtual disk
But it is not clear how any of the functions named can be executed directly, if this is even possible.