use win share in cmd

Login share
syntax: net use \\IP or NETBIOS\share “password” /user:”name”
exp: net use \\192.168.0.250\ipc$ “123” /user:”yan”

Mirror share
syntax: net use devicename: \\IP or NETBIOS\share “password” /user:”name”
exp: net use z: \\server\hdd “123” /user:”yan”

Delete share links
syntax: net use \\IP or NETBIOS\share /del
or net use * /del
exp: net use \\192.168.0.253\ipc$ /del

Leave a Reply

Your email address will not be published. Required fields are marked *