Re: Change NTFS Permissions or run shell script
From: Daniel Fisher\(lennybacon\) (info_at_(removethis)lennybacon.com)
Date: 02/04/05
- Next message: Daniel Fisher\(lennybacon\): "Re: Problem with asp.net application on Domain controller"
- Previous message: Daniel Fisher\(lennybacon\): "Re: AD and Asp.Net ?"
- In reply to: Shawn H. Mesiatowsky: "Change NTFS Permissions or run shell script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 4 Feb 2005 19:54:29 +0100
Look at the System.IO namespace and the Directory class.
It's not easy to set the permissions if you do not use .NET 2.0 yet. There
is a Win32 wrapper class around gotDotNet.com you can try.
The namespace System.Diagnostics holds a class called ProcessInfo witch can
be used to run "calcs.exe" for example.
-- Daniel Fisher(lennybacon) MCP ASP.NET C# Blog: http://www.lennybacon.com/ "Shawn H. Mesiatowsky" <smesiatowsky@spam_no_perfectfit-ind.com> wrote in message news:%23l0tj7jCFHA.2232@TK2MSFTNGP14.phx.gbl... >I am trying to Create a web app that creates a directory, and assigns >permissions to the directory. Is there a way to do this, or even run a >shell comand (like cacls.exe) to alter the NTFS permissions on the >directory? Thanks for your help > > Shawn H. Mesiatowsky >
- Next message: Daniel Fisher\(lennybacon\): "Re: Problem with asp.net application on Domain controller"
- Previous message: Daniel Fisher\(lennybacon\): "Re: AD and Asp.Net ?"
- In reply to: Shawn H. Mesiatowsky: "Change NTFS Permissions or run shell script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|