Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: map wwwnt34i.dll www9534i.dll
Addextender("WWWNT34I.DLL") lookingfor="\\servername\thisorthat" netdrives=DiskScan(4) netcount=ItemCount(xx,netdrives,@tab) found=0 for xx = 1 to netcount thisdrive=ItemExtract(netdrives,@tab) lookmaybe=wntgetcon(thisdrive) Message(lookmaybe,lookingfor) ; for debugging if strlower(lookmaybe) == strlower(lookingfor) found=1 break endif next if found==1 Message(thisdrive,lookmaybe) else Message("Error: Not found",lookingfor) endif
Here's a way to do it, on 95/98/ME, if you're using the Microsoft Client (rather than the Novell client):
Addextender("WWW9534I.DLL") lookingfor="\\servername\thisorthat" netdrives=DiskScan(4) netcount=ItemCount(xx,netdrives,@tab) found=0 for xx = 1 to netcount thisdrive=ItemExtract(netdrives,@tab) lookmaybe=w95getcon(thisdrive) Message(lookmaybe,lookingfor) ; for debugging if strlower(lookmaybe) == strlower(lookingfor) found=1 break endif next if found==1 Message(thisdrive,lookmaybe) else Message("Error: Not found",lookingfor) endif
Article ID: W13481
Filename: Find out what Drive Letter is Mapped to Server.txt
File Created: 2001:03:02:14:45:26
Last Updated: 2001:03:02:14:45:26