Registry Key - Windows Install Directory

Hello,
Is there a registry key which contains the windows install directory (eg. c:windows) and another which contains the system directory (eg. c:windowssystem. The key would have to be the same in all windows operating systems or if not whichever is used in most.
Thanks Alot
Benoni

Comments

  • Benoni,

    Dont know if there's such a registry key, but I'm guessing if you are going to read the registry you are using the Win32 API. And if this is the case why not use GetWindowsDirectory and GetSystemDirectory instead?

    : Hello,
    : Is there a registry key which contains the windows install directory (eg. c:windows) and another which contains the system directory (eg. c:windowssystem. The key would have to be the same in all windows operating systems or if not whichever is used in most.
    : Thanks Alot
    : Benoni
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion