Questions tagged [userappdatapath]
28 questions
12
votes
2 answers
Find in Entire Solution in Visual Studio 2012 gets quite a lot of result from Temp folder
In Visual Studio 2012, I tried to do some search in:
Find in Files->Entire Solution, then I get quite a lot results from files in
C:\Uses\myusername\AppData\Local\Temp\
. The files take the name like tmpE11.tmp.cs or tmpFBEE.tmp.cpp, the contents…
user4583300
9
votes
3 answers
Write to AppData directory using InnoIDE?
I need to write to the:
C:\Users\user\AppData\Roaming\AppName
folder during the setup process. I'm using the InnoIDE program for setup, and it's awesome. However, it seems to be lacking an 'AppData' special folder for easily accessing that…

ck_
- 3,719
- 10
- 49
- 76
5
votes
2 answers
Inno Setup Installing to AppData\Roaming on Windows Vista/7 and newer, but Application Data on Windows XP
I have made several scripts for inDesign. Now I want to distribute them all in a setup file. Since inDesign scripts reside in different locations on XP and Vista (or above), I'm having some problems. My compiled setup works fine under Windows XP but…

coldbreeze16
- 87
- 1
- 6
5
votes
2 answers
Question: Using Windows 7, Unauthorized Access Exception when running my application
My application is raising an unauthorized access error. While running my application, I try to access a directory in the following location: Application.UserAppDataPath.
The Problem: It says I do not have permission to access the…

RedEye
- 845
- 1
- 9
- 22
4
votes
1 answer
How to write to the common Application Data folder?
I have a Visual Basic 6.0 application that I want to install for All Users, for example, the setting are held in a single spot regardless who logs into the computer. I have the following code to locate the common location:
Const ssfCOMMONAPPDATA =…

AngryHacker
- 59,598
- 102
- 325
- 594
3
votes
0 answers
Do we still store program data in C:\ProgramData or in C:\Users\user1\AppData in Windows 10?
First I will explain my problem. I am updating software to fit the needs for Windows 10 users. Currently we are using C:\ProgramData to store Product databases and product pricing databases. Each quarter we release new version of the software that…

Matthew Kruse
- 33
- 7
3
votes
3 answers
Reading from a File in current User appdata folder for C#
I'm trying to read from a file inside the current user's appdata folder in C#, but I'm still learning so I have this:
int counter = 0;
string line;
// Read the file and display it line by line.
System.IO.StreamReader file = new…

Zeenjayli
- 119
- 2
- 3
- 14
2
votes
1 answer
Where to put application data and temp files on Windows, Linux and MAC if java-application is being lauched using JWS
Can we allow user to set and save application data and temp data using Java-Application that has beenrun/launch using JWS ? Does it make sense ?
We would like to know if user run JNLP directly then can user save preferences settings on local so…

Ashish Pancholi
- 4,569
- 13
- 50
- 88
2
votes
2 answers
Working around the "You don't currently have permission to access this folder" issue for PowerShell
When navigating to C:\Users\%SomeUsername% as an administrator on a Windows 2008 R2 server I get the error You don't currently have permission to access this folder, Click Continue to permanently get access to this folder. Clicking Continue…

JohnLBevan
- 22,735
- 13
- 96
- 178
2
votes
2 answers
How do I share user settings or files using the UserAppDataPath across builds?
Right now when I release a new build of my .NET app, the UserAppDataPath path points to a new folder that includes the build number.
Documents and
Settings\UserName\Application
Data\Company\AssemblyName\1.0.0.0
I use this path as a convenient…

Tim Santeford
- 27,385
- 16
- 74
- 101
2
votes
1 answer
Alternatives to AppData (Windows) when storing files on other OS
I'm working on a game project in Java and I need to store the config.ini file somewhere other than the executable jar location. I know people usually save them inside AppData on Windows, but I'd like to make my game completely portable with no OS…

Renato Geh
- 78
- 9
1
vote
0 answers
Visual Studio Code - React web app not launching w/ debugger due to corrupted appdata file
I have a React web app.
The app launches and runs just fine when i execu "yarn start" from the terminal (with not debugger attached to it).
When I launch from the VSC debugger the UI just spins, doesn't even execute/load the app itself (i run from…

AlvinfromDiaspar
- 6,611
- 13
- 75
- 140
1
vote
1 answer
How do I make InnoSetup remove permissions on a folder for everyone but the current user?
I have an "Install Just for me" option on my InnoSetup installer. If this option is chosen the program files are written to a folder off the users local settings application data folder, rather than C:\Program Files.
It seems that other admin users…

rossmcm
- 5,493
- 10
- 55
- 118
1
vote
2 answers
C# set appdata or any special folder path in app config file
I was trying to find a way to use appdata path as my environment.currentdurectory which means I want to run the c# application from appdata folder and in my project I always used environment.currentdirectory.
I couldn't find a way that I can set…

user10485400
- 13
- 5
1
vote
1 answer
Run command to go to user's documents folder (similar to %appdata%)?
Putting %appdata% into the run window will open up the Appdata folder, but what is the command to open the User's Documents folder, even when someone else logs in? I thought it was something like %userdir%, but I can not find out what it is. Not…

icebird76
- 742
- 3
- 14
- 36