Hi CP,
If you have DOSLib, you can use the DOS_DRIVEP function.
For example:
Command: (dos_drivep "C:")
T
Command: (dos_drivep "Z:")
nil
DOSLib is free from www.mcneel.com.
- Dale Fugier
"c.prettyman" wrote in message news:5782308@discussion.autodesk.com...
Is there a way, in Lisp, to test for the presence of a mapped drive? I
currently have a few things that test for the presence of a particular file,
but I want to just check to see that a given drive letter is responding,
without being concerned with what's in it. IE, I want to set up something
that says
if the O drive is there, do A, else do B
Thanks
CP