Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista Tutorial - is there command line to set folder and file security setting?

Reply
 
Old 11-02-2006   #1 (permalink)
JamesPang
Guest


 
 

is there command line to set folder and file security setting?

like "full control", "list folder"?



My System SpecsSystem Spec
Old 11-03-2006   #2 (permalink)
Netman_66
Guest


 
 

RE: is there command line to set folder and file security setting?

Yes. It called icacls.exe. That's the new version of cacls.exe. Which is
still available. Chech icacls /? for the options.

"JamesPang" wrote:

> like "full control", "list folder"?
>
>
>

My System SpecsSystem Spec
Old 11-03-2006   #3 (permalink)
Jeffery Hicks
Guest


 
 

Re: is there command line to set folder and file security setting?

On Fri, 3 Nov 2006 04:03:01 -0800, Netman_66 wrote:

> Yes. It called icacls.exe. That's the new version of cacls.exe. Which is
> still available. Chech icacls /? for the options.
>
> "JamesPang" wrote:
>
>> like "full control", "list folder"?
>>
>>
>>


ICacls.exe is a Vista program. In PowerShell you can use Get-ACL and
Set-ACL.

--
Jeffery Hicks - www.ScriptingAnswers.com
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
Scripting books: www.SAPIENPress.com
My System SpecsSystem Spec
Old 11-05-2006   #4 (permalink)
OK
Guest


 
 

Re: is there command line to set folder and file security setting?

Nice!
I use cacls.exe for W2K3 & WXP. I didn’t know about Get-ACL and Set-ACL.
Will use next time!
http://support.microsoft.com/kb/135268


"Jeffery Hicks" <"jhicks[at]SAPIEN.com" wrote:
> ICacls.exe is a Vista program. In PowerShell you can use Get-ACL and
> Set-ACL.
> --
> Jeffery Hicks - www.ScriptingAnswers.com
> SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
> Scripting books: www.SAPIENPress.com
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How to use command line to compression/uncompress folder for Vista Vista General
setting individual File / Folder security in PoSH PowerShell
Command line fonction to move the Documents folder in Vista Vista General
command line file compression Vista General
Running PS1 file from command line PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46