sexta-feira, janeiro 18, 2008

funny command

okay, just for my own reference.. how to change windows files permissions using command line:
granting:
cacls file_or_dir /t /p user:f -- it grants full control to directory/file and subdirs to user
cacls file_or_dir /t /e /r user -- it revokes all access from the user to directory.


Powered by ScribeFire.