wwAPI::MapNetworkDrive

Maps a network drive based on a sharename and username and password.

Shells out to command prompt using the NET USE command.

o.MapNetworkDrive(lcDrive,lcSharePath,lcUsername,lcPassword)

Parameters

lcDrive
Name of the drive to map. Example: z:

lcSharePath
Full path to the network share to access.
Example: \\RASDEV\CDRIVE

lcUsername
Optional username to access the remote resource. You can specify domain prefixes if necessary.

lcPassword
Optional password to access the remote resource.

See also:

Class wwAPI

© West Wind Technologies, 2004-2017 • Updated: 01/13/14
Comment or report problem with topic