Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

folder permissions

Status
Not open for further replies.

lintow

Programmer
Nov 29, 2004
82
US
I have a folder that I want to set permissions to.

here is the code to create the folder
how do I set the permissions. so the user: (lintow12) has right to it?

Set wn = WScript.CreateObject("WScript.Network")
Set fs = CreateObject("Scripting.FileSystemObject")
Set ws = CreateObject("WScript.Shell")

fs.CreateFolder ("c:\folder1")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top