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

Author: Ed Leafe

Posted: 2007-11-12 at 09:38:45

On Nov 12, 2007, at 9:29 AM, Rob Anderson wrote:

> Right mouse click my computer - properties - advanced tab.

>

> Environment variables, and change PATH to include :-

>

> \Program Files\Some Directory\Some Other Directory

OK, thanks to all. I thought that it was more difficult than just

modifying the path.

Next question: how can I do that programmatically? IOW, I want to

give the user the option of adding the "c:\Program Files\Some

Directory\Some Other Directory" to the path. If they say yes, how can

I do that in a batch file?

-- Ed Leafe

-- http://leafe.com

-- http://dabodev.com

©2007 Ed Leafe