<?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: Toolbox output paramter defaults to a dbf when the output is set to text file. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/toolbox-output-paramter-defaults-to-a-dbf-when-the/m-p/78308#M6309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a Python script that mines a directory (and sub directories) for mxds and writes the fine names and data paths to a text file.&amp;nbsp; The script works fine as a stand alone.&amp;nbsp; &lt;BR /&gt;I am trying to attach the tool to a Toolbox tool and notice some odd behavior.&amp;nbsp; I have the output parameter set to type = Text File in my toolbox tool.&amp;nbsp; After I fill in the input parameter (a directory) the output path is auto-completed using a .dbf file. Does anyone have any clues on how to fix this so that it defaults to a .csv or a .txt?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's your output parameter Data Type setting in the script tool properties?&amp;nbsp; By default, if it is "Table", it will default to .dbf for folder workspaces. You probably want to set Data Type to "File".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also control valid file extensions using the Filter property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.esri.com/Arc 10 Help: Setting script tool parameters"&gt;Arc 10 Help: Setting script tool parameters&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 21:30:26 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2012-05-04T21:30:26Z</dc:date>
    <item>
      <title>Toolbox output paramter defaults to a dbf when the output is set to text file.</title>
      <link>https://community.esri.com/t5/python-questions/toolbox-output-paramter-defaults-to-a-dbf-when-the/m-p/78307#M6308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Python script that mines a directory (and sub directories) for mxds and writes the fine names and data paths to a text file.&amp;nbsp; The script works fine as a stand alone.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to attach the tool to a Toolbox tool and notice some odd behavior.&amp;nbsp; I have the output parameter set to type = Text File in my toolbox tool.&amp;nbsp; After I fill in the input parameter (a directory) the output path is auto-completed using a .dbf file. Does anyone have any clues on how to fix this so that it defaults to a .csv or a .txt?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 19:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/toolbox-output-paramter-defaults-to-a-dbf-when-the/m-p/78307#M6308</guid>
      <dc:creator>GerryGabrisch</dc:creator>
      <dc:date>2012-05-04T19:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Toolbox output paramter defaults to a dbf when the output is set to text file.</title>
      <link>https://community.esri.com/t5/python-questions/toolbox-output-paramter-defaults-to-a-dbf-when-the/m-p/78308#M6309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a Python script that mines a directory (and sub directories) for mxds and writes the fine names and data paths to a text file.&amp;nbsp; The script works fine as a stand alone.&amp;nbsp; &lt;BR /&gt;I am trying to attach the tool to a Toolbox tool and notice some odd behavior.&amp;nbsp; I have the output parameter set to type = Text File in my toolbox tool.&amp;nbsp; After I fill in the input parameter (a directory) the output path is auto-completed using a .dbf file. Does anyone have any clues on how to fix this so that it defaults to a .csv or a .txt?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's your output parameter Data Type setting in the script tool properties?&amp;nbsp; By default, if it is "Table", it will default to .dbf for folder workspaces. You probably want to set Data Type to "File".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also control valid file extensions using the Filter property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.esri.com/Arc 10 Help: Setting script tool parameters"&gt;Arc 10 Help: Setting script tool parameters&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 21:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/toolbox-output-paramter-defaults-to-a-dbf-when-the/m-p/78308#M6309</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-05-04T21:30:26Z</dc:date>
    </item>
  </channel>
</rss>

