<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run-time paths of script tools in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/run-time-paths-of-script-tools/m-p/319163#M8317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your link appears to be broken, can you correct it so we can understand what you are referring to?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2013 10:45:09 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2013-09-02T10:45:09Z</dc:date>
    <item>
      <title>Run-time paths of script tools</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/run-time-paths-of-script-tools/m-p/319162#M8316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've written a custom tool executable and I've added it to ArcGIS as a script tool using the method discussed here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/...000003t6000000"&gt;http://resources.arcgis.com/en/help/...000003t6000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; The tool reads from a config file located in the same directory as the executable. When ran manually from the command line this application works fine. However, once I run it as a script tool it fails because it can't find the config file, which it thinks is located in the same directory as ArcGIS in c:\Program Files. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; What do I need to do to make it so that it reads the config file relative to where the executable resides and not relative to the host environment of the application housing the script process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Many Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 15:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/run-time-paths-of-script-tools/m-p/319162#M8316</guid>
      <dc:creator>CharlesTilly</dc:creator>
      <dc:date>2013-08-22T15:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run-time paths of script tools</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/run-time-paths-of-script-tools/m-p/319163#M8317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your link appears to be broken, can you correct it so we can understand what you are referring to?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 10:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/run-time-paths-of-script-tools/m-p/319163#M8317</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2013-09-02T10:45:09Z</dc:date>
    </item>
  </channel>
</rss>

