Hi Ed, Maybe you can modify the registry key :- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\ Environment]
Which will achieve this for you. (Further info at http://support.microsoft.com/kb/104011) HTH, Robbo Rob Anderson | Software Engineer | Pegasus, an Infor company | t: +44 1536 495000 | d: +44 1536 495006 | f: +44 1536 495214 | [EMAIL PROTECTED] | www.pegasus.co.uk -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: 12 November 2007 14:39 To: ProFox Email List Subject: Re: [NF] How do I make a program name generally executable? 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 [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

