Cannot set ILMerge path to console
- by KMC
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..