I need to detect whether a zip disk is or is not in its drive, in the server PC, in a W98 LAN. All machines in this LAN are W98.
The following works only on a local machine, but fails miserably if the zip drive is on the server.
o = create('scripting.filesystemobject')
for each dc in o.drives
? dc.driveletter, dc.drivetype, dc.isready, dc.sharename
next
? o.Drives('G').IsReady
( the server PC is mapped in the "terminal" PC as G: )
Rafael Copquin
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar