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
-1
votes
1 answer

Windows 10 Photo App cannot modify images in the AppData folder

I am making use the the AppData folder by creating images there and shelling out to Windows (with Process.Start( path-to-image )). This causes the built in photo viewer/editor to start up with the image in question. When I look at the process…
Eric Vasilik
  • 362
  • 2
  • 14
-1
votes
2 answers

C++ app MDB in ProgramData copies to user's AppData folder when I dont want it to

I have a C++ program which connects to an Access database via OBDC System DSN connection. That DSN is a path to the MDB in the ProgramData folder. When User A runs the app, it copies that MDB file to their AppData\Local folder and any updates to the…
jrhoads23
  • 109
  • 1
  • 8
-1
votes
1 answer

How to access other apps data for a backup application?

I'm very new to android developing, and I'm making a project in my university for an app that backs up every other application's data to cloud. So in order to do this, I have to access it. Is it possible? And is there a way to do this without…
-1
votes
1 answer

Delete other app data(not my app) in Android

I tried to search for an hour but I could not find how to do this. I found a lot of information about how to delete own app data but it seems hard to find the way how to delete "other" app data. Let's assume, I know all required information about…
Myeong-jae Kim
  • 133
  • 3
  • 11
-1
votes
2 answers

Use a VBS to edit ini for users %appdata% folder

I have script that edits the a line in the ini file, which sits on users %Appdata% folder i.e C:\Users\<>\AppData\Roaming. The current script which I have only edits a file pointing to proper file location, but I would like to have script which can…
-2
votes
2 answers

How do I find the %APPDATA% directory?

I currently know of two methods: Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) and Application.UserAppDataPath Are they both the same? Should I use one over the other? Please provide some facts to back up your answers.
CJ7
  • 22,579
  • 65
  • 193
  • 321
-2
votes
1 answer

Accessing hidden appdata in Google Drive

So, this may have an obvious answer, but I couldn't find anything on it so I figured I'd just try asking. Basically, I was using a free Minecraft server host called "Aternos" to work on a server before paying for the actual one. I didn't realize…
krikop
  • 3
  • 3
-2
votes
1 answer

How do I make hidden files in windows 10 opaque

Normally when you turn on view hidden files, the hidden files will be semi-transparent. Is there a way to make them full opacity? Specifically, I'm looking to make my appdata folder fully visible.
Donut
  • 7
  • 2
-2
votes
1 answer

How can I get Bitdefender (antivirus) to scan a file and delete it if the file contains a virus?

This is the code I use to write my file to the app_data folder: var filename = Server.MapPath("~/App_Data") + "/" thefilename; var ms = new MemoryStream(); file.InputStream.CopyTo(ms); file.InputStream.Position = 0; byte[] contents =…
Kelso
  • 80
  • 8
-2
votes
1 answer

Clearing App data (Shared prefrence data) twice in a week

I Am developing App locking app. Right now I have set password to selected Apps. I needs clear password Weekly two times (Wednesday and Sunday at 1 clock). I needs to clear Entire app data. I searched in google but didn't get any solution.
Vinodh
  • 1
  • 1
-2
votes
2 answers

How to start exe file from user's local roaming folder

I need to launch exe file form user's local roaming folder. The options that I've are JavaScript, jQuery. I try to search but I found only ActivexObjects and that are only compatible with IE and not working with non-IE browsers. Any guidance or…
M. Ali
  • 37
  • 6
-2
votes
2 answers

VB.NET - Access to path %appdata% is denied

I was making a mod installer for a Minecraft community, when I ended with this problem: Here's my code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Button1.Enabled = False …
-3
votes
1 answer

Trying to change the INSTALLDIR value to $APPDATA, but won't work

I'm trying to make an installer to extract some texture packs and stuff into the AppData folder, but keeps changing to program files. ############################################################################################ !define APP_NAME…
1 2 3
19
20