Message from discussion
Changing file/folder permissions
From: "mayayana" <mayaXXyan...@mindXXspring.com>
References: <#jD#gcPiIHA.5504@TK2MSFTNGP05.phx.gbl> <EC0E53CE-C1DE-4D1A-98E9-22E0DB33AE87@microsoft.com> <e9Up0JaiIHA.1944@TK2MSFTNGP02.phx.gbl>
Subject: Re: Changing file/folder permissions
Date: Wed, 19 Mar 2008 09:48:06 -0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <uw6BjfciIHA.2268@TK2MSFTNGP02.phx.gbl>
Newsgroups: microsoft.public.scripting.vbscript
NNTP-Posting-Host: dialup-4.154.236.95.dial1.boston1.level3.net 4.154.236.95
Path: g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!newsfeed00.sul.t-online.de!t-online.de!TK2MSFTFEEDS02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP02.phx.gbl
> Just had anotehr look at cacls and it will probably do what I need without
> using VB at all ......
>
> Ahh well, maybe the next thing will force me to use/ learn VB!!
>
Are you sure you mean VB? VBScript is not
the same as VB, and what Jon posted was not
"pure" of either. It was VBScript using WMI.
VB would use the Windows API, like this:
http://support.microsoft.com/kb/295004/
Then there's also VB.Net, which Microsoft is now
calling just "VB". VBScript, VB and VB.Net are all
entirely different things that would usually use
entirely different methods.
WMI is a scriptable set of methods that runs as a
service on NT systems and provides a number of
functions (mainly related to network administration
chores) that VBScript would otherwise not have
access to.