Friday, 1 January 2010

share and mount a drive in windows

to mount: (mount the resource G on 192.168.0.20)
net use G: \\192.168.0.20\G serverpassword /user:username /PERSISTENT:NO

to share: (on 192.168.0.20 for example)
net share G=G:\

more, run
lusrmgr.msc
net share /?
net use /?

ps: the function uses windows' 'Server' service

No comments:

Labels

Search This Blog