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

后端 未结 17 2617
没有蜡笔的小新
没有蜡笔的小新 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:05

    It is very simple and it won't take more than 30 seconds.

    For example the software called abc located in D:/Softwares/vlc/abc.exe Add the folder path of abc.exe to system environment variables.

    My Computer -> Click Properties -> Click Advanced system settings -> Click Environment Variables

    Click on Ok.

    now you can just open cmd prompt and you can launch the software from anywhere. to use abc.exe just type abc in the command line.

提交回复
热议问题