views:

240

answers:

2

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 about Turbo Delphi in %path% variable, maybe I can change it to MSYS in registry? Please, help.

+1  A: 

The path isn't in the registry, goto control panel -> System -> Advanced System settings* -> Environment Variables -> Scroll down in system variables until you find PATH click edit and change accordingly. BE SURE to include a semicolon at the end of the previous as that is the delimiter ie c:\path;c:\path2

You will need to launch a new console for the settings to take effect.

  • Just advanced if you are using XP
Nathan Adams
no effect, still Borlans's make.exe runs. I think it must be in registry, because>>There is no mention about Turbo Delphi in %path% variable
d9k
OK, when I tried "echo %path%" I saw Turbo Delphi's path in the middle of the long string. Thank you and sorry for inattention.
d9k
A: 

why don't u create a bat file makedos.bat containing this line

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

and put it in C:\DOS (or C:\Windows or kake shure that is your %path%)

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

PS 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

Remus Rigo