Questions tagged [appdata]

Used for questions relating to the user application data folders. Topics should be related to the use of the Windows APPDATA or USERPROFILE environment variables.

Windows Environment Variables

Environment variables are mainly used within batch files, they can be created, modified and deleted for a session using the SET command. To make permanent changes, use SETX

Variables can be displayed using either SET or ECHO.

Variables have a percent sign on both sides: %ThisIsAVariable%

Standard (built-in) Environment Variables include the following:

ALLUSERSPROFILE   C:\ProgramData
APPDATA           C:\Users\{username}\AppData\Roaming
LOCALAPPDATA      C:\Users\{username}\AppData\Local
USERPROFILE       %SystemDrive%\Users\{username}
                  This is equivalent to the $HOME environment variable in Unix/Linux 

Related Tags:

298 questions
4
votes
2 answers

How to create a custom percent (%) shortcut like %appdata%?

Is it possible? If so, how? Can it be done in CMD? Existing shortcuts examples : %appdata% %temp% %userprofile%
Guillaume Chevalier
  • 9,613
  • 8
  • 51
  • 79
4
votes
1 answer

Where does Windows 8 keep Roaming App data files?

I'm going through the Windows 8 tutorial on managing app lifecycle and state and the tutorial goes through the code for creating roaming appdata for my app which allows me to keep data for my app across sessions - so if I closed (fully close) my…
Arvin
  • 1,391
  • 4
  • 19
  • 33
4
votes
1 answer

SHGetFolderPath() for a specific user

I'm looking for a good way to get the local application data folder for a specific user -- without having to enter the login details for that user. SHGetFolderPath() can accept an access token for whatever user I want to get the local appdata folder…
beepboopbopbop
  • 141
  • 2
  • 6
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
2 answers

Getting Application Data folder for every user

In my application, every user has its own settings, that I save to a subdirectory in that user's Application Data directory. During uninstall, I want to delete those settings for every user on the computer. How can I do that in Inno Setup? In other…
svick
  • 236,525
  • 50
  • 385
  • 514
3
votes
1 answer

How To Sign a Jar File for an Applet?

Does Singing a Jar File For an Applet use the same process as signing a Jar file for an application?? If so, can someone tell me how to sign it? I have an Applet that writes to your APPDATA, kinda like Minecraft.
Jay
  • 143
  • 2
  • 11
3
votes
2 answers

How do i get right the directory of my application?

I've made a small console application (first publish in c#). but i cant use my resource files. I used textfiles can give it. It worked when i used the debug directory My goal is to create a directory like this: Applicationmap + application.exe +…
LMP
  • 53
  • 6
3
votes
6 answers

SourceTree Installation Fail on Windows 10: "CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: "

I am trying to install SourceTree to my brand new Acer Laptop just arrived, the moment I run the installer downloaded from Atlassian "SourceTreeSetup-2.1.11.0", it flashed for a second then pop up error message: This is the full setup error…
3
votes
4 answers

Moving a VB6's Data folder out of Program Files

I maintain a VB6 application that stores its data (access files) in a subfolder of the application folder. So, when the user installs the application to the default location of C:\Program Files\MyApp the data ends up in the Virtual Store. I have now…
Dabblernl
  • 15,831
  • 18
  • 96
  • 148
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…
3
votes
1 answer

Android VideoView plays video only once

When I play some MP4s on VideoView it works for the first time I do it on particular device, but then every next time I'm trying to play this video again I'm having W/MediaHTTPConnection: readAt 2862802 / 32768 =>…
Mikolaj
  • 126
  • 3
3
votes
3 answers

Android Studios can't find SDK

I have a problem where my Android Studios can't open my SDK. It says: Your SDK loaction contains non-ASCII chracters. I have tried reinstalling everything twice, still not working. Error Message: http://postimg.org/image/a50xwsstb/7bd620d3/ SDK…
3
votes
3 answers

Launch Exe from UWP app

I have a UWP app and I need to launch an .Exe file from the users %appdata% folder. I don't know how to find %appdata% or how to launch Exe files. I have looked all over but none of the solutions I have worked for me. Thanks in advance.
user4232183
3
votes
2 answers

Android security: how secure is the app private data?

I have an application that stores confidential information in a file located in the application's private data folder. I would like to know how secure it is to do so. As far as I know on an android device other applications cannot access that…
Zsolt
  • 365
  • 3
  • 12
3
votes
2 answers

How to Create Folders and Subfolders in %AppData%

First of all thank you very much for all the help I’ve found over 3 Vbscript that has save my life during this last six months. I’m new to Vbscripting and I’m currently working on getting a Vbscript that create folders and copy a file at the same…
Leonavas
  • 35
  • 1
  • 1
  • 5