We are building an application for Windows 7 that creates some data files that the user will occasionally want to review and a log file that we might need for support. Our first version is writing the files to USER\APPDATA\LOCAL\ourprogam folder. I thought we had solved our problems until I installed it in a user account that is not an administrator and now I can't find the folder and don't see a way to make it accessible to the user.
So my question boils down to how do I get access to the APPDATA folder in Windows 7?
2 Answers
As you already said, the problem is in settings under Windows Explorer -> Organize -> Folder and search options -> View -> under Hidden files and folders check Show hidden files, folders and drives.
Here's another way to access this location even when the Windows Explorer view options are set to hide this path otherwise assuming you already have appropriate access already.
- Click Start, go to Run, type in
%localappdata%, and press Enter - Press Win+R, type in
%localappdata%, and press Enter
Tested in Windows 7, 8.1, and 10