Hemal
Hemal

Reputation: 265

How to create RUN command for windows Application

Like we have "winword" to open MS Word doc, notepad to open notepad and many other(like control,chrome to open chrome browser, similarly firefox). Can we create a custom RUN commmand for a given application/Software, kind of short name, which I can directly use in the RUN command, to open that given application.

Thanks

Upvotes: 0

Views: 134

Answers (2)

Alessandro Mandelli
Alessandro Mandelli

Reputation: 581

Yes, you shall put your program.exe folder in the environment path, and type "program" to launch it from the cmd shell and remember to put double quotes around paths having blank spaces in it

Upvotes: 1

chengpohi
chengpohi

Reputation: 14227

You can set your exe application path into Windows environment path.

Upvotes: 0

Related Questions