Primo Ramdisk Features - Command Line Interface (CLI)

Since version 5.6.0, Primo Ramdisk includes a command line interface that provides flexible, scriptable access to essential Primo Ramdisk operations from the command shell.

Primo Ramdisk command line tool, rxprd.exe, is installed in the folder where Primo Ramdisk is installed (for example, C:\Program Files\Primo Ramdisk Professional Edition). For convenience, set your PATH environment variable to include this directory.

The command line tool requires Administrative privileges. On Windows Vista or newer operating systems that have UAC enabled, run it from a Command Prompt window that is launched by performing the following actions:

  • Right-click a Command Prompt shortcut.
  • Click Run As Administrator.

Command Line Syntax

rxprd <command> [<option>...]

<command>    Specifies a Primo Ramdisk command (see command list below).
<option>...  One or more options that modify a command.

The following conventions are used in the command line tool:

  • Expressions surrounded by angle brackets (<>) are required.
  • Expressions surrounded by square brackets ([]) are optional.
  • Commands are case insensitive, but options are case sensitive.

Command List

ls           Lists all virtual disks.
add          Creates a new virtual disk.
del          Removes a virtual disk.
view         Displays the settings and status of a virtual disk.
edit         Changes the settings of a virtual disk.
rebuild      Recreates the disk with new settings.
init         Reinitializes a virtual disk.
save         Saves the disk contents to an image file.
export       Exports the disk settings as a disk descriptor file.
im           Manages the Invisible Memory.
mem          Displays current system memory information.
ver          Displays version and license information.
?            Displays help messages.

For detailed command and option information, type:

rxprd ? <command>

Exit Code

The command line tool will return an exit code of 0 if the command was executed successfully, 2 if the command line inputs were invalid, 3 if the command failed, or 4 if the user canceled the command.


The command line tool cannot run with Primo Ramdisk GUI program at the same time. You must close the GUI program while running CLI program, otherwise "Multiple Instances" error displays.