Command prompt and executing commands

Soldato
Joined
12 Jun 2005
Posts
5,361
Hi there,

I have a C compiler in the location of : "C:\mydir\dir\c.exe" and I want to have it so that whenever I type "c" from any directory in command prompt that it runs the compiler.

How would I do this without physically moving c.exe from its location?

Thanks.
 
Back
Top Bottom