Re: Folder share with disk quota using commands.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Burtsev Dmitry (burtsev_at_removethispart.km.ru)
Date: 09/01/04


Date: Wed, 1 Sep 2004 10:35:34 +0400

Hello. :)

-- 
Dmitry Burtsev [burtsev@removethis.km.ru]
"Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message
news:#xl3mw#jEHA.2908@TK2MSFTNGP10.phx.gbl...
> hi :)
>
> -- 
> Dmitry Korolyov [d__k@removethispart.mail.ru]
> MVP: Windows Server - Active Directory
>
>
>   "Burtsev Dmitry" <burtsev@removethispart.km.ru> wrote in message
> news:eA1X4u#jEHA.3348@TK2MSFTNGP12.phx.gbl...
>   You can do it with scripts. Check
> http://microsoft.com/technet/scriptcenter
>
>   For example:
>
>   Dim userDir,strLogin
>   userDir = "d:\New"
>   strLogin = "Group"
>
>   Set dirObj = CreateObject("Scripting.FileSystemObject")
>   dirObj.CreateFolder(userDir)
>
>   'Edit ACL on home directory for user account. Give him Full Control.
>
>   Set WshShell = Wscript.CreateObject("Wscript.Shell")
>   WshShell.Run("c:\winnt\system32\cacls.exe " & userDir & " /t /e /p " &
>   strLogin & ":f")
>   Set WshShell = Nothing
>   Set dirObj = Nothing
>
>
>   -- 
>   Dmitry Burtsev [burtsev@removethis.km.ru]
>
>
>
>   "Samuel Hung" <anonymous@discussions.microsoft.com> wrote in message
>   news:3eb001c48fe7$3c602dd0$a301280a@phx.gbl...
>   > Is there any way that I can use command to add in all the
>   > users that I have to the share folder that I created on
>   > the AD.
>   > I have many folder as I need to add users into and it is
>   > quite difficult to click some many users.
>
>