help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RAMDRIVE.SYS--Examples
Syntax  Notes
────────────────────────────────────────────────────────────────────────────
 
                           RAMDRIVE.SYS──Examples
 
To create a RAM drive in extended memory and allocate 64K (the default
amount) of extended memory to RAMDRIVE.SYS, add the following line to your
CONFIG.SYS file:
 
    device=c:\dos\ramdrive.sys /e
 
This command loads RAMDRIVE.SYS from the C:\DOS directory.
 
Suppose you want to install RAMDRIVE.SYS in expanded memory and allocate 4
MB (4096K) of expanded memory to the RAM drive. To do this and to specify
that RAMDRIVE.SYS is located in the DOS directory on drive C, add the
following line to your CONFIG.SYS file:
 
    device=c:\dos\ramdrive.sys 4096 /a
 
Now suppose you want to allocate 2048K of extended memory to RAMDRIVE.SYS
and create a RAM drive that has 512-byte sectors and a limit of 1024 entries
in its root directory. To do this and to specify that RAMDRIVE.SYS is
located in the DEVICES directory on drive D, add the following line to your
CONFIG.SYS file:
 
    device=d:\devices\ramdrive.sys 2048 512 1024 /e
 
                                      ♦