Differences

This shows you the differences between two versions of the page.

Link to this comparison view

computers:win_-_net_use_commands [2015/03/24 05:42] (current)
Line 1: Line 1:
 +====== WIN- net use commands ======
 +With NET USE you can manipulate network shares, login as a different user or password, disconnect or delete network shares, etc.
  
 +Below is from http://​www.cezeo.com/​tips-and-tricks/​net-use-command/​
 +
 +
 +===== Net Use Command examples =====
 +
 +To assign the disk-drive device name E: to the Letters shared directory on the \\Fin server, type:
 +
 +  net use e: \\fin\letters
 +
 +To assign (map) the disk-drive device name M: to the directory Mike within the Letters volume on the \\Fin NetWare server, type:
 +
 +  net use m: \\fin\letters\mike
 +
 +To connect the user identifier Dan as if the connection were made from the Accounts domain, type:
 +
 +  net use d:​\\server\share /​USER:​Accounts\Dan
 +
 +To disconnect from the \\Fin\Public directory, type:
 +
 +  net use f: \\fin\public /DELETE
 +
 +To connect to the resource memos shared on the \\Fin 3 server, type:
 +
 +  net use k: "\\fin 3" \memos
 +
 +To restore the current connections at each logon, regardless of future changes, type:
 +
 +  net use /​PERSISTENT:​yes ​