I installed imdisk, and then used the following command to create the in-memory disk:

imdisk -a -s 1G -m M: -p "/fs:NTFS /V:MemDisk /q /y"

I then copied a whole directory to the M: disk, and then tried to execute an .exe file from M:, e.g.

$>M:\somefolder\foobar.exe

The result is:

The system cannot find the file: M:\somefolder\foobar.exe.

Does anyone know what went wrong?

link|improve this question
What OS are you using? – wizlog Nov 8 '11 at 2:24
feedback

migrated from stackoverflow.com Oct 24 '11 at 3:11

This question came from our site for professional and enthusiast programmers.

closed as not a real question by Nifle, Sathya Nov 11 '11 at 10:49

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.