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. The script works fine as a stand alone.
I am trying to attach the tool to a Toolbox tool and notice some odd behavior. I have the output parameter set to type = Text File in my toolbox tool. 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?