Discussion:
Printing shares with user information
(too old to reply)
ramman
2004-01-22 14:55:09 UTC
Permalink
Is there a way to print shares from NT showing the share
name and the users and their authority in a nice format?
(Anything other then a screen print?)
Mike Frederick
2004-01-22 15:47:28 UTC
Permalink
Its "almost" doable with a single command. If you have the resource kit
installed, you will have the command RMTSHARE available. With that and a
tricky FOR command, you can *almost* do it:

for /f "usebackq skip=4" %i in (`rmtshare \\server`) do rmtshare \\server\%i

where \\server should have your server's name. What won't work is any share
name that contains spaces. :-(
Post by ramman
Is there a way to print shares from NT showing the share
name and the users and their authority in a nice format?
(Anything other then a screen print?)
Loading...