matthieu_gironn
11 years agoOccasional Contributor
How to get folder permissions?
Hi,
I'm interested in testing the access rights and security permissions of a folder on a windows 7 computer.
There seems to be a command line to get his (cacls) but I was wondering if I could use some functions in TC scripts to do this.
Thanks,
Matthieu Gironnet
I'm interested in testing the access rights and security permissions of a folder on a windows 7 computer.
There seems to be a command line to get his (cacls) but I was wondering if I could use some functions in TC scripts to do this.
Thanks,
Matthieu Gironnet
- Hi Matthieu,
TestComplete does not contain any specific means to get/check folder permissions, so you should either execute command-line tools (like mentioned by you) and analyse their output or (for example) search for WMI samples that will do the same.