Can't change folder permision via command line

utilityco
utilityco used Ask the Experts™
on
Trying to change a folder permissions via the command line. on a windows XP machine

I have tried using CACLS but it doesn't seem to work.  This is the command that I am using.

CACLS c:\Program files\drivers /t /e /c /g Everyone:c

But is doesn't seem to be working.  Any ideas on what I am doing wrong.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
The only thing i see from what you typed is no quotes around the folder directory.

Try this line.

CACLS "c:\Program files\drivers" /T /E /C /G Everyone:C

/t is unnecessary if you have not turned off inheritance as well.

Author

Commented:
Worked perfect thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial