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
0
votes
0 answers

Google Drive AppData Not Permitting Insert

Using Google Drive API v2 rev 75 I am attempting to insert a file into the AppData folder, however insertion fails with: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 "The current scope does not allow use of the appdata…
bleeper
  • 186
  • 1
  • 12
0
votes
1 answer

Google Drive appdata and Children.Delete

Looks like items under appdata folder can't be deleted with DirectoryService.Children.Delete - got error "Method not supported for appdata contents [403]". Just wondering why this limit? Should appdata folder behave the same like other folders?
user2106007
  • 697
  • 1
  • 7
  • 11
0
votes
3 answers

Can't add files to listbox...READ

I'm using a code to show all startup items in listbox with environment variable "%appdata% There is some errors in this code that I need help with.... Check code for commented errors Is there any other solution but still using %appdata%? This is the…
Sneakybastardd
  • 288
  • 1
  • 5
  • 17
0
votes
1 answer

Launch a program with a custom appdata folder VBS

How can I launch a program with its own custom appdata folder using a Visual Basic script. I have tried to do this with a batch file: @echo off set APPDATA=%CD%\appdata start program.exe And it works everywhere except school, as the…
Kael Watts-Deuchar
  • 4,213
  • 1
  • 26
  • 50
0
votes
1 answer

Why does Umbraco run App_Data\Temp\Razor\inline-xxxx.cshtml logout control after my login?

My Umbraco website has 2 member types. I made a custom login form which checks credentials and authenticates members. Here is my Umbraco razor control code that does that: @using umbraco.MacroEngines; @{ if (Request.HttpMethod.ToLower() ==…
Adinp
  • 242
  • 4
  • 6
0
votes
3 answers

files generated in system's %appdata% rather than user's %appdata% when running mpi

I am running my application (sample.exe) which uses an external DLL (i.e. I do not have the source of this DLL) on windows. External DLL generates some data in the %appdata% folder. Everything runs fine when the application is run standalone. Now,…
Neal
  • 3,119
  • 4
  • 27
  • 32
0
votes
1 answer

Creating folder in APPDATA folder on Windows XP (folder is read-only)

In my Java app I find the APPDATA folder and then attempt to create my own subfolder: if (System.getProperty("os.name").startsWith("Windows")) { settingsDir = System.getenv("APPDATA") + "\\MyApp\\"; if (!(new…
Mattijs
  • 1,909
  • 3
  • 19
  • 28
0
votes
1 answer

VB.net - Running a java application using Shell() and set its appdata folder. multiple commands?

Alright guys I have a copy of minecraft wich is a java program launched by Minecraft.exe. Inside the same folder is my program (lets call it launcher.exe) wich I am programming in VB.net and a Folder called LocalAppData. If I place a shortcut in the…
0
votes
0 answers

Hidden registration files on Windows and the Virtual Store

We just discovered a new problem with our registration scheme on Windows 7 64 bit edition. Currently we save a hidden registration file inside our application's resources but it has become clear that this is not the best place for this. Today we…
Mike2012
  • 7,629
  • 15
  • 84
  • 135
-1
votes
1 answer

How to know Computer Profile name using Javascript

I want to get the computer user profile name to put log text on the appData note: This is just for IE, (currently using this for windows 7 gadget) The default would be, without profile name is this C:/Users/user/AppData/Local/sampleFolder/ but when…
Robin Carlo Catacutan
  • 13,249
  • 11
  • 52
  • 85
-1
votes
1 answer

How can I solve these errors

import 'dart:html'; import 'package:flutter/material.dart'; class SearchScreen extends StatefulWidget { const SearchScreen({Key? key}) : super(key: key); @override _SearchScreenState createState() => _SearchScreenState(); } class…
-1
votes
1 answer

When running ionic serve

when I try to run Ionic, it gives this error, thank you for your help. Indeed, the AppData file has also been deleted !! 'ionic' is not recognized as an internal or external command, operable program or batch file.
-1
votes
1 answer

Download and Move a file into a folder located in Local App Data C#

I want to download a .ini file for Fortnite and have it move from downloads to LocalAppData however I click the button and my program closes with a error 'An exception occurred during a WebClient request.' I left an image of my code and can anyone…
Damian
  • 13
  • 1
  • 5
-1
votes
1 answer

Why does my application not write to the user's APPDATA on some machines?

I have made an application running on Windows 10 1809. It needs to be run As Administrator and sometimes with command line parameters. One way to do this, would be to run cmd As Administrator, navigate to the folder and run the app with the corrent…
Tim
  • 157
  • 1
  • 11
-1
votes
1 answer

while installing atom i am getting this error !!what should i do to fix this error?

7-11-19 12:38:57> Program: Starting Squirrel Updater: --install . 2017-11-19 12:38:57> Program: Starting install, writing to C:\Users\default.LAPTOP-L777RA0L\AppData\Local\SquirrelTemp 2017-11-19 12:38:57> Program: About to install to:…
1 2 3
19
20