Invalid letter string when creating RAM disk via command line

Started by Lada

Hello,
I write the following command in the console, but the disk is not created and shows "General error: Invalid letter string". Why?
ramdiskc.exe /add:"letter=M,fs=NTFS,size=8G"
SoftPerfect Support forum - Ann avatar image
Ann

Re: Invalid letter string when creating RAM disk via command line   03 October 2018, 09:33

The command line format for console version ramdiskc.exe is different to that of the GUI module. Simply launch ramdiskc.exe without parameters to see its syntax.

In your case, something like this should work:
ramdiskc.exe /add:M /fs:ntfs /size:8G

If however you wish to use the GUI module ramdisk.exe switches, please see this page about ramdisk.exe /switch:data line format.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **          ******    ******    ********  **     ** 
 **    **   **    **  **    **   **        **     ** 
 **    **   **        **         **        **     ** 
 **    **   **        **   ****  ******    ********* 
 *********  **        **    **   **        **     ** 
       **   **    **  **    **   **        **     ** 
       **    ******    ******    ********  **     ** 

Message: