>oWshNet = CREATEOBJ('Wscript.Network') >* Lots of arguments available here: >* cLocalDrive is the local resource name (eg 'N:') >* cRemoteName is the UNC of the path you want to map >* (optional) lUpdateProfile (bool) if .T., save the mapping >* (optional) cUserId the name of a user other than the default >* Windows Login userid for accessing UNC >* (optional) cPassword password for user accessing UNC >oWshNet.MapNetworkDrive(cLocalDrive, cRemoteName) >* >* You can unmap a drive by: >* >oWshNet.RemoveNetworkDrive(cLocalDrive) >Here's some more scripts that might be useful at: