Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nt server - share information

Status
Not open for further replies.

piq

Programmer
Apr 2, 2003
15
PL
I would like to get information about permissions for some shares, but from cmd?
Do you have any idea? cmdline 'net shares' doesn't give info about permission.

Please help!
piq
 
C:\Documents and Settings\jason>net share /?
The syntax of this command is:


NET SHARE
sharename
sharename=drive:path [/USERS:number | /UNLIMITE
[/REMARK:"text"]
[/CACHE:Manual | Documents
sharename [/USERS:number | /UNLIMITED]
[/REMARK:"text"]
[/CACHE:Manual | Documents | Programs
{sharename | devicename | drive:path} /DELETE
 
type 'net help share' at command prompt for a little more detail.
 
I know what is the 'net share' syntax :) but i want to get some info about permissions for the shared directory from cmdline. The command 'net share' isn't able to display permission info.
I can't use resource kit for some reasons.
So i'll ask again: how can i do it?

Thanks for help!
piq
 
cacls (or xcacls from resource kit) can display file & folder permissions - but I don't know about displaying share permissions from command line.
 
Then again - its rmtshare from the resource kit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top