I have created a Web API Elastic Beanstalk app using C#. It needs a folder outside the deployment directory that the IUSER and IIS_USERS users can write to. 
I've created a .config file and put this in the top level .ebextensions folder in my project. The contents are below:
commands:
  0_mkdir:
    command: mkdir C:\\AppFolder\\
  1_set_iuser_permissions:
    command: cacls C:\\AppFolder\\ /t /e /g IUser:f IIS_Users:f
The permissions aren't set. I can't figure out the issue. Any suggestions