<?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 bat file returns 0x1 error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/bat-file-returns-0x1-error/m-p/1189791#M64934</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have encountered an issue that I have never encountered before when using bat files. I have several scripts that I run using bat files and windows task scheduler without issues. For some reason, this particular script that I wrote runs perfectly fine from the bat file or as is, but it returns a particular error and it is something that is causing a lot of headache for me to troubleshoot. I would greatly appreciate any suggestions that would help remedy this issue?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 12:35:27 GMT</pubDate>
    <dc:creator>RPGIS</dc:creator>
    <dc:date>2022-07-06T12:35:27Z</dc:date>
    <item>
      <title>bat file returns 0x1 error</title>
      <link>https://community.esri.com/t5/python-questions/bat-file-returns-0x1-error/m-p/1189791#M64934</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have encountered an issue that I have never encountered before when using bat files. I have several scripts that I run using bat files and windows task scheduler without issues. For some reason, this particular script that I wrote runs perfectly fine from the bat file or as is, but it returns a particular error and it is something that is causing a lot of headache for me to troubleshoot. I would greatly appreciate any suggestions that would help remedy this issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 12:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/bat-file-returns-0x1-error/m-p/1189791#M64934</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2022-07-06T12:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: bat file returns 0x1 error</title>
      <link>https://community.esri.com/t5/python-questions/bat-file-returns-0x1-error/m-p/1190998#M64972</link>
      <description>&lt;P&gt;I'd suggest writing the output of the batch file to some sort of logfile (If you aren't doing this already). That way you know exactly what you need to debug.&lt;BR /&gt;&lt;BR /&gt;Most batch files I configure to run a python script look something like:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;python script.py &amp;gt; run.log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the script finishes running, you can view the printouts on the run.log file.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 20:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/bat-file-returns-0x1-error/m-p/1190998#M64972</guid>
      <dc:creator>RViruet</dc:creator>
      <dc:date>2022-07-08T20:45:24Z</dc:date>
    </item>
  </channel>
</rss>

