Command line switches
Listed below is a set of command line switches for creating, deleting and manipulating RAM disks. These commands work with a running GUI instance of RAM Disk and require the following line format: ramdisk.exe /switch:data
Note: to create an on-demand RAM disk from a service or script, use the console version ramdiskc.exe located in the application folder. Any RAM disk created with the console version is not visible in the GUI and disappears upon shutdown. To see its usage syntax simply launch it in a command prompt without any parameters.
||Reads RAM disk definitions previously saved to a file by the File – Export Disks command. Disk definitions read from the file are appended to the existing ones and are not mounted.||/import:"C:\John Smith\test.xml"|
||Mounts an existing RAM disk. Specify all to mount all the existing RAM disks.||/mount:R
||Unmounts an existing RAM disk. Specify all to unmount all the existing RAM disks. Specify /force before /unmount for forced unmount.||/unmount:R
||Saves an existing RAM disk to its associated image file. Specify all to save all the existing RAM disks.||/save:R
||Deletes an existing RAM disk. Specify all to delete all the existing RAM disks.||/del:R
Adds a new RAM disk based on the following case-insensitive parameters:
/add:"letter=R, fs=FAT32, size=100M"
/add:"letter=I, image=c:\image files\filename.img"
/add:"type=boot, letter=B, fs=NTFS, size=50M, mount=no"