Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
DEVICE = C:\DRDOS\VDISK.SYS [disksize] [sectsize] [maxfiles] [/E:[sectors]] [/X] Options
(The above should be all one line)
disksize
The size of the disk in KB; specify a size between 1 and 256 KB (unless you have extended memory on your system). The default size is 64 KB.
sectsize
The smallest amount of space reserved on the disk. The default is 128 bytes but you can also specify 256 or 512 bytes.
maxfiles
The maximum number of files that can be written to the root directory of the virtual disk. Specify a number between 2 and 512; the default is 64.
The number you specify determines the amount of disk space reserved for the disk directory. Keep in mind that specifying a large number of files will waste space unless you actually do copy large numbers of files to the disk.
/E:[sectors]
Locates the virtual disk in extended memory, if extended memory is available on your system. Specify the number of sectors at a time to be transferred between conventional memory and extended memory when the virtual disk is being used; sectors can be a number between 1 and 8 (the default is 8).
/X
Locates the virtual disk in expanded memory, if available on your system. A virtual disk in expanded memory can be up to 32 MB in size.
You must load VDISK.SYS in CONFIG.SYS before any other drivers that use extended memory but after your memory manager, such as EMM386 or HIMEM. If you use SETUP or INSTALL to create a memory disk, however, VDISK.SYS is loaded automatically, in the correct sequence.Also note that if you use the HIDEVICE/DEVICEHIGH command to load VDISK.SYS in extended memory, you must use the /E switch.
Examples:
The following DEVICE statement defines a virtual disk of 200 KB with a sector size of 256 bytes and a maximum of 32 files:
DEVICE = C:\DRDOS\VDISK.SYS 200 256 32
The next statement defines a virtual disk of 10,240 KB, located in expanded memory:
DEVICE = C:\DRDOS\VDISK.SYS 10240 /X
Or, even better, use XMSDISK

XMSDISK (includes EMSDISK and EMSDSK86 for running it on your XT ........?), like Doofus mentioned, does not require that a device driver be loaded, and can resize the RAMdisk at will. There are also TurboDisk and SRDisk, which require a small device driver be loaded but then allow you to freely create and manipulate RAM drives.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |