Feststellen welches Verzeichnis das Windows Verzeichnis darstellt...



  • Hi,

    kann mir jemand sagen wie ich das Widnows Verzeichnis ermittel kann?



  • Wenn du WinAPI verwendest gibts den Befehl

    GetWindowsDirectory
    The GetWindowsDirectory function retrieves the path of the Windows directory. The Windows directory contains such files as Win32-based applications, initialization files, and help files.

    UINT GetWindowsDirectory(
      LPTSTR lpBuffer,  // address of buffer for Windows directory
      UINT uSize        // size of directory buffer
    );
    

    Header: Declared in winbase.h.

    Gruss Jochen


Anmelden zum Antworten