General information
Category:
Windows API functions
Here's my little proc for mapping a network share:
PROCEDURE mapdrive
* do mapdrive with "\\servername\sharename", "k:"
LPARAMETERS lcdrvltr, lcnetpath
DECLARE LONG WNetAddConnection IN mpr.DLL STRING@, STRING@, STRING@
retval=wnetaddconnection(@lcnetpath, CHR(0), @lcdrvltr)
*remove the registered library
CLEAR DLLS
RETURN retval
ENDPROC
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only