DISCOVER
×

How to Create a Ramdisk in MS DOS

Updated April 17, 2017

A RAMdisk, or RAM drive, is a block of the primary computer memory accessed by MS-DOS as virtual disk drive. It transfers data much faster than a hard disk drive, since it has no moving parts, but data on RAMdisk will be lost when power is off or you reboot the computer. A RAMdisk appears in MS-DOS as a physical hard disk with the chosen size, drive letter and file system. You can copy, move and delete files on it. The set-up of the DEVICE option in the CONFIG.SYS file allows users to create the RAMdisk in MS-DOS operating system.

Boot your computer into MS-DOS operating system.

Type in "edit" at the command line prompt to open editor program.

Click the "File," "Open" and double-click on the "config.sys" file.

Add the following lines at the beginning of the file:

DEVICE=C:\HIMEM.SYS

DEVICE=C:\EMM386.EXE RAM

DEVICE=C:\RAMDRIVE.SYS 32767 512 256 /e R:

Click "File," "Save As," "OK" to create the "R" RAM disk in MS-DOS.

bibliography-icon icon for annotation tool Cite this Article

About the Author

Alexander Gokhfeld has been writing since 2002. He has written for the monthly business publications "AutoPublish" and "MGRealty." Gokhfeld holds certification in business intelligence infrastructure development as well as a Bachelor of Science in electric engineering from Urban Trans College.