Thursday, November 9, 2017

windows file sharing operations

list all active connections:

net use

remove all active connections:

net use * /delete

remove specific connection

net use \\<ip>\<share> /delete

add connection

net use \\<ip>\<share> /user:domain/username <password> /persistent:yes

make symbolic link for file share

mklink /d c:\temp\<localpath> \\<ip>\<share>

No comments:

Post a Comment