How to get the path of "Common Files" directory

  • Thread starter Thread starter Norbert Pürringer
  • Start date Start date
N

Norbert Pürringer

Hello,

is there a way to get the path of the directory "Common Files"
via .NET?

I was not able to find a proper function in class Path.

Thank you,
Norbert
 
Hello,

is there a way to get the path of the directory "Common Files"
via .NET?

I was not able to find a proper function in class Path.

The Environment NameSpace covers a lot of these special folders, e.g.:
Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top