view what your system has shared
Posted by jpluimers on 2010/06/18
Sometimes you want to know which network shares your system exposes to the outside world.
For me (I’m a keyboard addict), the easiest way is to run the “net share” command on the command-line.
The output looks like this:
[sourcecode language=”text”]
C:\Users\jeroenp>net share
Share name Resource Remark
——————————————————————————-
C$ C:\ Default share
D$ D:\ Default share
IPC$ Remote IPC
ADMIN$ C:\Windows Remote Admin
Users C:\Users
The command completed successfully.
[/sourcecode]
–jeroen






Onno said
Thanks, this is very usefull :)
Onno.
IL said
To view what remote system is sharing
net view \\remote-computer-name-or-ip-address
jpluimers said
Thanks for the addition.
Actually, NET VIEW has more options like /DOMAIN and /NETWORK.
–jeroen