Hello
I am trying to adjust the folder permissions using vbscript and xcacls.
The folder path that is getting its permissions modified is stored in a variable called strName.
My script works correct like this:
However when trying to use my variable instead of the full path it does not work.
The variable always has a value with spaces, so what kind of quotes do I have to use in order for this to work?
Any help would be really much appreciated
regards
Dresse
I am trying to adjust the folder permissions using vbscript and xcacls.
The folder path that is getting its permissions modified is stored in a variable called strName.
My script works correct like this:
Code:
xcacls.vbs "c:\home\Test, User" /g Domain\user:F
Code:
"xcacls.vbs " & strName & " /g Domain\user:F"
Any help would be really much appreciated
regards
Dresse