Hello.
I'd like to know how to convert this vb script to C#
Dim strFolder As String
Dim objShell As Object
strFolder = "C:\zz"
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "%COMSPEC% /c Echo Y| cacls " & _
strFolder & _
" /t /c /g everyone:F ", 2, True
What I'm trying to do is set permissions to "Everyone" on a newly created folder on the users C:\ drive.
I'm using Visual Studio, .Net 1.1
Thanks. Iain