how to get  special folders such as Users Application Data

Posted on 2010-11-15
Last Modified: 2012-05-10
i have created a setup file (exe ) installer and im installing some folders in
  Users Application Data folder
how i can read the path for that folder
im using 2008

how i can know the path in xp , vista , windows
also how i can know the operating system in code?
Question by:Kamal Khaleefa
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 70

Expert Comment

by:Éric Moreau
ID: 34138150
have you tried My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData
LVL 17

Accepted Solution

nepaluz earned 500 total points
ID: 34138189
for application data folder try




for application data folder
LVL 32

Expert Comment

ID: 34139093
OS version Info:

'Version numbers
String.Format("{0}.{1}.{2}.{3}", OSVersion.Version.Major.ToString, OSVersion.Version.Minor.ToString, OSVersion.Version.Build.ToString, OSVersion.Version.MajorRevision.ToString)

'Version Description
String.Format("{0}", OSVersion.VersionString)
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

LVL 32

Expert Comment

ID: 34139126

Expert Comment

ID: 34142897
LVL 16

Author Closing Comment

by:Kamal Khaleefa
ID: 34158807

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Format Transaction Number 19 41
Set arraylist as datatable 2 25
Need to find a web event on the IIS server 4 48
XML and Linq - reading fields in repeating nodes 3 21
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question