Where can I set path to make.exe on Windows?

后端 未结 5 1247
鱼传尺愫
鱼传尺愫 2020-12-24 01:49

When I try run make from cmd-console on Windows, it runs Turbo Delphi\'s make.exe but I need MSYS\'s make.exe. There is no mention abo

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-24 02:22

    Why don't you create a bat file makedos.bat containing the following line?

    c:\DOS\make.exe %1 %2 %5
    

    and put it in C:\DOS (or C:\Windowsè or make sure that it is in your %path%)

    You can run from cmd, SET and it displays all environment variables, including PATH.

    In registry you can find environment variables under:

    • HKEY_CURRENT_USER\Environment
    • HKEY_CURRENT_USER\Volatile Environment
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment

提交回复
热议问题