Tuesday, March 13, 2012 10:18 AM
I need a VB script, that should check and display whether the shared folder in a server has a Special permission.
Only displaying Special permission is very helpful for me..
Please help me on this.
Thanks in advance
Tuesday, March 13, 2012 10:46 AM
You could have a look at this script, just filter the output you get from this script to only list the special permissions:
Tuesday, March 13, 2012 11:17 AM
I always use Xcacls to look at file permissions. Something like
strcommand = "c:\xcacls.exe \\server\path"
Set objWshScriptExec = objShell.Exec(strcommand)
Set objStdOut = objWshScriptExec.StdOut
Do Until objStdOut.AtEndOfStream
Put scripting for testing the output.