General error: no valid command given when saving disk image

2 posts · Closed

Zdenek Guest
23 Apr 2025

Hi,
I am trying to create a script to save a disk image. However, all my commands result in "General error: no valid command given." What is wrong?

RamDisk ver. 4.4.3 [x86_64]

Thx

cmd (admin):

C:\Windows\system32>cd "C:\Program Files\SoftPerfect RAM Disk"

C:\Program Files\SoftPerfect RAM Disk>ramdiskc /save:A
General error: No valid command given

C:\Program Files\SoftPerfect RAM Disk>ramdiskc /unmount:A
General error: No valid command given

C:\Program Files\SoftPerfect RAM Disk>ramdiskc /save:A
General error: No valid command given

C:\Program Files\SoftPerfect RAM Disk>ramdiskc /save:all
General error: No valid command given
Ann SoftPerfect
23 Apr 2025

The commands that you are using should be used with ramdisk.exe, not ramdiskc.exe.

Please see the "Command line switches" page of the RAM Disk user manual for more details.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in RAM Disk if you have a similar question.