Ed Leafe wrote: > 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? > >
Perhaps the WriteINIFile API? iirc, the sections of the autoexec.bat are labeled. -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solutions!" _______________________________________________ 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.

