Ed, > 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?
I'm not a fan of making changes to the registry and you may find that many customer workstations are locked down where you can't make the type of change you are considering. As an alternative: Why not have your setup program generate a *.BAT (or *.CMD) file with the path to your app and store this BAT/CMD file in a writeable folder in the path. This will have the same effect as altering the path. Note that I said writeable path. On locked down workstations, not all folders will be updatable. Another idea: If you're committed to updating the path via its registry setting, use Inno Setup to create your install and have your Inno Setup script make the appropriate changes to the path. This will be easier and may be more reliable than trying to make changes to your path in your code. BTW: Looking forward to viewing your new Dabo screencast tonight. Malcolm _______________________________________________ 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.

