.net - View Shared Folders on a Mapped Drive -


so want view shared folders on mapped network drive. know can use:

net share 

in command prompt view shared folders on local drive. , i've tried below try view shared folders in my mapped drive, l:\

l:\ cd\ net share 

but again shared folders in local drive shown.

searched around internet while , couldn't find anything. forum has similar question none of them seem right really.

if there way using .net accept well.

only computer hosting files knows folders shared. (try sharing folder on mapped drive.)

in order correct way™, you'll have run process (net share) on machine serving directory have mapped l:.

i believe windows stores share information in registry: hkey_local_machine\system\currentcontrolset\services\lanmanserver\shares

if knew machine name serving share you've mapped l: (we'll call server-32), like

reg query \\server-32\hklm\system\currentcontrolset\services\lanmanserver\shares 

this doesn't show of admin shares (ipc$, c$, etc.), show items have been shared users.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -