473,473 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Finding the user's AppData folder on Windows

4 New Member
I'm currently working on a screensaver for windows and need to store a settings file in the user's AppData folder. Right now I am using
Expand|Select|Wrap|Line Numbers
  1. getenv("APPDATA")
to find it, but this seems somewhat unreliable to me. Is there a way to do this with the Windows API?
Jul 8 '11 #1
0 1612

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Alec Wysoker | last post by:
Could you explain a little more clearly what the problem is? In the implementation of expanduser in Python 2.3.4, it uses the value of HOME env var if it exists, otherwise, it uses HOMEDRIVE +...
8
by: Michael Mayer | last post by:
I have a windows forms app and am wondering how I find the My Document's folder of the current user. Is there a class or namespace in .NET to assist with this? Or must I use P/Invoke - if so,...
4
by: Dennis C. Drumm | last post by:
How do I programmatically get the path for the windows shared documents folder which is also the all user's document folder. Thanks, Dennis
8
by: kyosohma | last post by:
Hi, I am trying to query our domain to get a list of our users profile locations. I thought I might be able to use WMI, but I can't get it to work. I am using a Windows XP Pro workstation and...
0
by: kannabiran | last post by:
Hi, Im using C#.Net 2003,framework version 1.1,In the folder we can add the user manually by right click the folder-->properties-->security-->add-->user.Here i want to add user to the folder by...
1
by: anusen23 | last post by:
hi, any one help me out im basicaly php programmer on windows based application, i need to know the php root folder in php on linux, plz help me oust
0
by: =?Utf-8?B?cGluY2hhcmk=?= | last post by:
The 'My Music' folder in the Start Menu (XP SP2) started taking me to the All User's Music folder instead of my personal music folder which is normally the default. It has been working fine for...
2
by: domiriel | last post by:
Hi! I need to find the selected file(s) in a Windows Explorer window from another program (I'd look at the window that last had focus). I found something in the following page that should do...
0
by: deepant | last post by:
Hi, I am writing a windows application in C#.net for watching a folder using filesystemwatcher class with this class i can able to track the events of creating,deleteing,changing and renaming...
4
by: =?Utf-8?B?QXZhRGV2?= | last post by:
ASP.Net 2. We are migrating to Windows 2008 64 bit Server with IIS 7 from Windows 2003 32 Bit with IIS 6. A few library classes we wrote uses impersonation in code like explained in this...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.