Skip to content

Getting the Windows Operating System path in a C# program

Ravinder Reddy

Asked Dec 11, 2006, 7:27 AM EST1 answer
Share
LinkedInX

Hi all,
               I want to get the Operating System path (Where the Windows was installed) through my C# program. How can I do it. Please help me out.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Environment.GetEnvironmentVariable("SystemRoot");
    0