I want my batch file to take input from the user and give "Full Access" permissions to a specific folder(the path will be hard coded) to the set of users, entered by the user. The user enters a comma seperated list of user names in the form(domain\username). Please help me!!!!!!!!!! :(
In windows XP you could use the following command
cacls C:\GNUPG /T /E /G everyone:F
If username is passed as first parameter to the batch file use the following command
cacls C:\GNUPG /T /E /G %1:F
In the above parameter "C:\GNUPG" is the path name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With