Prevent creation of XML files for geoprocessing results

Discussion created by jbarraud on May 3, 2013
Latest reply on Oct 16, 2019 by Chigo1
I have a Python script that I use to create a text file containing the list of files in a folder for example.

The name of the output text file is one of the parameters of the tool and needs to be defined with Direction = Output (otherwise the tool complains that the file does not exist). The consequence is that a description file (an .xml file) is created by ArcGIS once the tool has finished running.

Is there a way to prevent ArcGIS from creating this .xml file?