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, 2025 • Updated: 2025-03-12
Comment or report problem with topic