Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am trying to create a folder in windows 7 program files dynamically. the debugger shows me an error that Access denied . can any one help me?

Thank you
Posted

1 solution

Check if the account that runs you application has permission to add a new folder. As a test you can run your application as administrator to check if issue goes away.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900