[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.excel.programming

Re: change permission on a folder like cacls command

NickHK

12/20/2006 3:04:00 AM

Kanan,
Don't use calcs, but check out Shell :
http://en.wikibooks.org/wiki/Programming:Visual_Basic_Classic/External...

Otherwise the API route
http://forums.devx.com/archive/index.php/t-1...

NickHK

"Kanan" <Kanan@discussions.microsoft.com> wrote in message
news:6C0A9264-15DE-42E7-8BF1-814093EBCB29@microsoft.com...
> Hi,
> I would appreciate if somebody can tell me how I can run a cacls command
in
> VBA from EXCEL? I have a procedure that creates a subfolder based on the
> user's ntlogin and I want to be able to set the permission to write only
for
> that specific user for that subfolder. likewise other subfolders. I am not
> sure how I can the do the functionality of cacls command in the Filesystem
> object? is this possible?
>
> thanks
> Kanan