Cannot set ILMerge path to console
Posted
by
KMC
on Super User
See other posts from Super User
or by KMC
Published on 2012-07-26T06:18:15Z
Indexed on
2013/10/24
10:01 UTC
Read the original article
Hit count: 1709
I install ILMerge.exe; path is C:\Program Files\Microsoft\ILMerge\ILMerge.exe.
I want to set the command to the Path so I can type ilmerge anywhere to use the application. I googled and tried all the following but none works:
setx -m ilmerge;C:\Program Files\Microsoft\ILMerge\ILMerge.exe
setx -M ilmerge;C:\Program Files\Microsoft\ILMerge\ILMerge.exe
setx -m %PATH%;C:\Program Files\Microsoft\ILMerge\ILMerge.exe
setx /S system /U administrator ilmerge;C:\Program Files\Microsoft\ILMerge\ILMerge.exe
I then tried to add, the GUI's Environment Variables, click New and input the variable "ilmerge" and value "C:\Program Files\Microsoft\ILMerge\ILMerge.exe". But in command prompt and type in ilmerge, still gives me
'ilmerge' is not recognized as an internal or external command, operable program or bath file.
Why something as basic as setting a path that confusing..
© Super User or respective owner