Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently I'm trying to deploy BugNET application on my machine following their official document. One of those steps is to change the security property of the published folder proceeded as below screenshot - providing Full control for the selected IIS user on the folder.

I want to write an batch/.bat script that can automate this manual task when executed. Is it possible and if it is, please show me how. Thank you! enter image description here

share|improve this question
up vote 2 down vote accepted

Here's what I use when installing a PHP application on IIS 7.5 and want to give the 'Everyone' use Full Control (F) to the 'Cache' folder. I also include Object Inherit (OI) and Container Inherit (CI).

icacls cache\ /grant Everyone:(OI)(CI)(F)

share|improve this answer
@Evangelist Thank you! What does icacls stand for? – Nam G VU Apr 12 '11 at 6:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .