Click here to Skip to main content
15,910,797 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi - itnog

When I want to access "C:\Windows\Temp" in windows 7 or vista , I got a error "Access to the path 'C:\Windows\Temp' is denied"


I saw some software that do not get permission after installation.

How can I access to the such folder without requesting user permission

?
Posted
Updated 6-Jul-10 6:56am
v2

1 solution

C:\Windows\Temp is not accessible with the normal user access on which softs runs if they don't run with those UAC dialogs. So no, you cannot access it. However why would need to access this C:\windows\temp when you can user the user application data directory to store temp files without special permissions.
 
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