Subj : Re: How to detect RAM disks (Was: how to detect cdrom?) To : Steve From : Jasen Betts Date : Sat Feb 16 2002 11:15 pm Hi Steve. 14-Feb-02 14:16:24, Steve wrote to Outsider S> Suppose my virtual disk is Z: and is has a directory "Z:\TEMP.DIR". S> It seems your program would have a syntax error if run after S> executin S> set TEMP=Z:\TEMP.DIR I noticed his habit of using a dot after %temp% too... I think it's to catch instance when the user puts a trailing slash in %temp%, like Z:\temp.dir\ the trailing . has no effect in most instance, but it "eats" the extra backslash if there is one. in any case havong a trailing backslash in %temp% is an error as command.com can't use it like that and drops its temp files in the current directory... so it's probaby pointless checking for it... 4dos isn't bothered by a trailing \ in %temp% -=> Bye <=- --- * Origin: A nuclear war can ruin your whole day. (3:640/531.42) .