Re: [NF] How do I make a program name generally executable?

Author: Peter Cushing

Posted: 2007-11-12 at 09:18:40

Peter Cushing wrote:

> Ed Leafe wrote:

>

>> Let's say I have an executable located in c:\Program Files\Some

>> Directory\Some Other Directory\foo.exe. I would like to make it so

>> that the user can type 'foo' from a command prompt, and have that

>> executable run.

>>

>> Would this be a Registry entry (or several)? If so, what would I

>> need to do? A link to a how-to page would be great.

>>

>>

> You could always add this folder to the path and it would run. Not sure

> of another way of doing it.

>

>

Just thought. You could add a foo.bat to the windows folder (which is

already in the path) and have this call the exe.

Peter

©2007 Peter Cushing