如何得到服务器windows或Systems的安装路径?

解决方案 »

  1.   

    The GetSystemDirectory function retrieves the path of the Windows system directory. The system directory contains such files as Windows libraries, drivers, and font files.
      

  2.   

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

  3.   

    使用这GetWindowsDirectory和GetSystemDirectory两个API函数就可以了
      

  4.   

    to sunssc(大虾),真是大虾!
    showmessage(GetWindowsDirectory());//windows目录showmessage(GetSystemDirectory());//system目录
      

  5.   

    但是,我要从工作站中如何得到服务器windows或Systems的安装路径!!!我的客户端要调用服务器windows下的内容。