Subj : Re: How to detect RAM disks (Was: how to detect cdrom?) To : Matthias Paul From : Outsider Date : Fri Feb 15 2002 08:18 am From: Outsider@f3.n342.z1.cereal.mv.com (Outsider) Subject: Re: How to detect RAM disks (Was: how to detect cdrom?) From: Outsider Matthias Paul wrote: > > Well, a heuristical combination of all these tests might give > a very good indication of a RAM disk... > :: isramdrv.bat @ECHO off :: Note: = [Ctrl]+[P]+[C] in edit ECHO |FORMAT.COM %1: |FIND.EXE "Format not supported" >nul IF errorlevel 1 ECHO %1: is not a RAM drive IF errorlevel 1 GOTO end VOL %1: |FIND/C " " |FIND "1" >nul IF errorlevel=1 ECHO %1: is not a RAM drive :end Can anyone report what messages are generated on a network drive with this command: "ECHO |FORMAT.COM %1:" ? -- Outsider -- |Fidonet: Outsider 1:342/3 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .