recuperer le %windir% avec VC++ - Programmation
Marsh Posté le 13-06-2001 à 13:32:35
Peut-être l'API 
UINT GetWindowsDirectory( 
    LPTSTR lpBuffer,// address of buffer for Windows directory  
    UINT uSize  // size of directory buffer  
   );  
  
Il y a son pendant pour le répertoire SYSTEM.
Marsh Posté le 13-06-2001 à 13:11:19
salut
je cherche a recuperer le %windir% pour faire un ShellExecute avec hh.exe (pour voir le .chm) et bien qu'il soit declaré ds le PATH ca marche pas
a+