“Register” an .exe so you can run it from any command line in Windows

后端 未结 17 2614
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 02:38

How can you make a .exe file accessible from any location in the Windows command window? Is there some registry entry that has to be entered?

17条回答
  •  伪装坚强ぢ
    2020-11-28 03:08

    You have to put your .exe file's path into enviroment variable path. Go to "My computer -> properties -> advanced -> environment variables -> Path" and edit path by adding .exe's directory into path.

    Another solution I personally prefer is using RapidEE for a smoother variable editing.

提交回复
热议问题