- Aug
- 2,059
- 83
Code:
c:\users\jlc\utils>ver
TCC 24.02.48 x64 Windows 7 [Version 6.1.7601]
I am using IMDISK;
Code:
c:\users\jlc\utils>imdisk --version
Control program for the ImDisk Virtual Disk Driver for Windows NT/2000/XP.
Version 2.0.10 - (Compiled Nov 25 2018)
Copyright (C) 2004-2018 Olof Lagerkvist.
http://www.ltr-data.se [email protected]
...to create a RAM Disk;
Code:
@setlocal
@echo off
iff exist t:\ then
echo T: Drive already exists
else
imdisk -a -s 512M -m T: -p "/fs:ntfs /q /y" -o awe
endiff
endlocal
...but @DRIVETYPE returns 3 Fixed Disk instead of 6 RAM Disk.
Code:
c:\users\jlc\utils>echo %@drivetype[t:]
3
...and I am not sure why.
Joe