I use

cmd# dir uuid.vbs /q /s
15.08.2011  16:52                83 HOST\user           uuid.vbs

but this not work for Windows shares which mounted by:

cmd# net use t: \\192.168.1.44\distr

It take output like:

cmd# dir wget.later /q /s
15.08.2011  09:16                66 ...                 wget.later

Also when in Explorer check Properties ==> Security you can see list of users/groups that have some permition for this file.

How can I list owner or users/groups which have permition on file from command line? May be VB/JS-scrips allow this (as come starting from Win2000)?

link|improve this question

43% accept rate
feedback

1 Answer

Use cacls filename. It will give the access information of the file.

link|improve this answer
For shares it writes that domain not found for some ... users. With Properties ==> Security you can see list of users/groups that have some permition for this file. – gavenkoa Aug 15 '11 at 15:07
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.