Beemer Biker wrote:
> "Bruce Chambers" <bchambers@cable0ne.n3t> wrote in message
> news:eDXVukiDGHA.740@TK2MSFTNGP12.phx.gbl...
>
> SNIP
>
>
>>HOW TO Create and Configure User Accounts in Windows XP
>>http://support.microsoft.com/default...b;en-us;279783
>>
>>HOW TO Set, View, Change, or Remove File and Folder Permissions
>>http://support.microsoft.com/default...;en-us;q308418
>>
>>HOW TO Set, View, Change, or Remove Special Permissions for Files and
>>Folders
>>http://support.microsoft.com/default.aspx?scid=kb;[LN];Q308419
>>
>
>
> Bruce: I ran across the above reply when searching for "set file
> permissions": How can I set permissions programatically using either
> windows scripting or C++
>
> eg: I want to make a script (or file on a local computer) read only for
> "Authenticated User" and read/write for a certain administrator.
>
> I can easly do this by right clicking on the script and selecting the
> security tab. I have had trouible even finding this topic under platform
> sdk, msdn and .net 1.1
>
> ..thanks..
>
>
>
Look into CACLS.EXE /?
For more detailed scripting advice, you'll have to seek out a scripting
newsgroup. I do very little scripting, myself.
Script Center
http://www.microsoft.com/technet/scr...r/default.mspx
--
Bruce Chambers
Help us help you:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html
You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH