net.exe
net use | Connects or disconnects to a network share. Used with no qualifiers lists the current network mappings. |
---|---|
net file | Lists any files that are open/locked via a network share. |
see also: IT Pro – net.exe reference
net use
mount share
net use [{DeviceName | *}] [\\ComputerName\ShareName[\volume]] [{Password | *}]] [/user:[DomainName\]UserName] [/user:[DottedDomainName\]UserName] [/user: [UserName@DottedDomainName] [/savecred] [/smartcard] [{/delete | /persistent:{yes | no}}]
Troubleshooting
"The network folder specified is currently mapped using a different user name and password"
Disconnect the share, close explorer, connect share again.