Hi,
I want to set folder permission to read only access to all users using TestComplete. I am writing some code in JScript but its not working and I am still able to copy files/install exe to that folder.
My code:
function test()
{
aqFileSystem.ChangeAttributes("C:\\WorkingFolder", aqFileSystem.faReadOnly, aqFileSystem.fattrSet);
}
I want to accomplish this without using batch file. Anyone having solution to this?