Where can I set path to make.exe on Windows?
up vote
20
down vote
favorite
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.
c++ registry makefile path msys
add a comment |
up vote
20
down vote
favorite
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.
c++ registry makefile path msys
add a comment |
up vote
20
down vote
favorite
up vote
20
down vote
favorite
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.
c++ registry makefile path msys
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.
c++ registry makefile path msys
c++ registry makefile path msys
edited Mar 25 at 1:01
Ronan Boiteau
5,71751735
5,71751735
asked Oct 24 '09 at 15:33
d9k
3521417
3521417
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
32
down vote
accepted
The path is in the registry but usually you edit through this interface:
- Go to
Control Panel
->System
->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, i.e.
c:path;c:path2
- Launch a new console for the settings to take effect.
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:48
3
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
add a comment |
up vote
0
down vote
Why don't you create a bat file makedos.bat
containing the following line?
c:DOSmake.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_USEREnvironment
HKEY_CURRENT_USERVolatile Environment
HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment
add a comment |
up vote
0
down vote
I had issues for a whilst not getting Terraform commands to run unless I was in the directory of the exe, even though I set the path correctly.
For anyone else finding this issue, I fixed it by moving the environment variable higher than others!
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
32
down vote
accepted
The path is in the registry but usually you edit through this interface:
- Go to
Control Panel
->System
->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, i.e.
c:path;c:path2
- Launch a new console for the settings to take effect.
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:48
3
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
add a comment |
up vote
32
down vote
accepted
The path is in the registry but usually you edit through this interface:
- Go to
Control Panel
->System
->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, i.e.
c:path;c:path2
- Launch a new console for the settings to take effect.
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:48
3
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
add a comment |
up vote
32
down vote
accepted
up vote
32
down vote
accepted
The path is in the registry but usually you edit through this interface:
- Go to
Control Panel
->System
->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, i.e.
c:path;c:path2
- Launch a new console for the settings to take effect.
The path is in the registry but usually you edit through this interface:
- Go to
Control Panel
->System
->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, i.e.
c:path;c:path2
- Launch a new console for the settings to take effect.
edited Aug 17 at 20:24
answered Oct 24 '09 at 15:36
Nathan Adams
9611627
9611627
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:48
3
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
add a comment |
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:48
3
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:40
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
Oct 24 '09 at 15:48
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
Oct 24 '09 at 15:48
3
3
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Windows 10 has a few ways of arriving there now, and includes a new GUI for managing entries so you don't need to remember that pesky semi-colon anymore: superuser.com/questions/949560/…
– Mike Branski
Nov 28 '15 at 5:11
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
Use the Windows command "where" to find out where make.exe lives. For example: "where make.exe" Gives this result on my computer: C:Program Files (x86)BorlandDelphi7Binmake.exe If I had make.exe in other paths, it would show those.
– mxmoss
Sep 18 at 15:45
add a comment |
up vote
0
down vote
Why don't you create a bat file makedos.bat
containing the following line?
c:DOSmake.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_USEREnvironment
HKEY_CURRENT_USERVolatile Environment
HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment
add a comment |
up vote
0
down vote
Why don't you create a bat file makedos.bat
containing the following line?
c:DOSmake.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_USEREnvironment
HKEY_CURRENT_USERVolatile Environment
HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment
add a comment |
up vote
0
down vote
up vote
0
down vote
Why don't you create a bat file makedos.bat
containing the following line?
c:DOSmake.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_USEREnvironment
HKEY_CURRENT_USERVolatile Environment
HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment
Why don't you create a bat file makedos.bat
containing the following line?
c:DOSmake.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_USEREnvironment
HKEY_CURRENT_USERVolatile Environment
HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession ManagerEnvironment
edited Mar 25 at 1:01
Ronan Boiteau
5,71751735
5,71751735
answered Oct 26 '09 at 21:25
Remus Rigo
81172854
81172854
add a comment |
add a comment |
up vote
0
down vote
I had issues for a whilst not getting Terraform commands to run unless I was in the directory of the exe, even though I set the path correctly.
For anyone else finding this issue, I fixed it by moving the environment variable higher than others!
add a comment |
up vote
0
down vote
I had issues for a whilst not getting Terraform commands to run unless I was in the directory of the exe, even though I set the path correctly.
For anyone else finding this issue, I fixed it by moving the environment variable higher than others!
add a comment |
up vote
0
down vote
up vote
0
down vote
I had issues for a whilst not getting Terraform commands to run unless I was in the directory of the exe, even though I set the path correctly.
For anyone else finding this issue, I fixed it by moving the environment variable higher than others!
I had issues for a whilst not getting Terraform commands to run unless I was in the directory of the exe, even though I set the path correctly.
For anyone else finding this issue, I fixed it by moving the environment variable higher than others!
answered Aug 28 at 20:41
Alex Thomas
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f1618280%2fwhere-can-i-set-path-to-make-exe-on-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown