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 [{DeviceName | *}] [\\ComputerName\ShareName[\volume]] [{Password | *}]] [/user:[DomainName\]UserName] [/user:[DottedDomainName\]UserName] [/user: [UserName@DottedDomainName] [/savecred] [/smartcard] [{/delete | /persistent:{yes | no}}]

"The network folder specified is currently mapped using a different user name and password"

  • Last modified: 2019-12-20 14:21