You can find this question here:
http://www.911cd.net...&...st&p=131441
Command line to create a brand new ramdisk (empty):
imdisk -a -s 10M -m e:
Where:
-a --> attach (add)
-s 10M --> size = 10Mb
-m e: --> mount drive as e:
You still need to format this drive with the filesystem you wish (NTFS, FAT32, etc..)
To unload this drive use:
imdisk -d -m e:
Be sure that the drive isn't being used by another program (like having explorer open on drive e:) so that imdisk can sucessfully lock this volume and then remove it safely.
To mount an ISO image:
imdisk -a -f c:\image.iso -m e:
Where:
-a --> attach
-f c:\image.iso --> image file
-m e: --> mount as drive letter
To further understand the command line of ImDisk I recommend just typing "imdisk" from command line read each one of the options.
You can use these examples to get started and then move on to more parameters as you get familiar with the syntax.