Mounting RAM disk to a directory instead of a drive letter

Started by Oliver

Hi,

I'd like to know if your RAM Disk product supports (or if you are planning to support) the mounting of a user RAM disk on a folder location, rather than just a drive letter. I ask this because I'd like to use it in my user profile folder for storing temporary web downloads, and that's most practically done as a filesystem mount on a directory rather than as a drive letter.

Kindest regards,
Oliver
SoftPerfect Support forum - Ann avatar image
Ann

Re: Mounting RAM disk to a directory instead of a drive letter   01 February 2021, 11:38

It is not supported directly, i.e. you can't assign a RAM disk to a folder from within the product. However, for your use case you could use symbolic links, with which any directory could be mapped to a RAM disk.

For example, you have your RAM disk at R:\ and the folder you want to point to RAM disk is C:\some\folder. Simply open a command prompt as admin and type:
MKLINK /D C:\some\folder R:\
This will create a symbolic link and any access to C:\some\folder will end up being read from and written to the RAM disk at R:\

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:

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: