<?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: How Can I Close an mxd using arcpy script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88302#M6867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also you can open a specific mxd like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import os
os.startfile("Your MXD Path") 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:22:36 GMT</pubDate>
    <dc:creator>BruceBacia</dc:creator>
    <dc:date>2021-12-10T23:22:36Z</dc:date>
    <item>
      <title>How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88299#M6864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How Can I Close an mxd using arcpy script. Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2012 04:15:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88299#M6864</guid>
      <dc:creator>OLANIYANOLAKUNLE</dc:creator>
      <dc:date>2012-08-26T04:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88300#M6865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How Can I Close an mxd using arcpy script. Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python is still more of a geoprocessing oriented language is GIS than a full blown windows application management language.&amp;nbsp; The arcpy options only let you save or saveacopy of the document, but there is no close option.&amp;nbsp; I haven't seen any native Python that manages open Wndows applications.&amp;nbsp; Perhaps there is an extension someone has written that I am unaware of, but the python.org help does not come up with anything I can find.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you are expecting more out of Python than ESRI has tried to support at this time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2012 04:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88300#M6865</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-08-26T04:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88301#M6866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will kill ArcMap itself. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import os
os.system("TASKKILL /F /IM ArcMap.exe") 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88301#M6866</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2021-12-10T23:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88302#M6867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also you can open a specific mxd like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import os
os.startfile("Your MXD Path") 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88302#M6867</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2021-12-10T23:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88303#M6868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This will kill ArcMap itself. &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import os
os.system("TASKKILL /F /IM ArcMap.exe") 
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I stand corrected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:22:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88303#M6868</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-10T23:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88304#M6869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! I got it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 01:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88304#M6869</guid>
      <dc:creator>OLANIYANOLAKUNLE</dc:creator>
      <dc:date>2012-08-27T01:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Close an mxd using arcpy script</title>
      <link>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88305#M6870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have just blogged on this &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wp.me/p5SYkc-8L" title="http://wp.me/p5SYkc-8L"&gt;Using Python to close an ArcMap map document down | Spatial Needs....&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This will show you how to close an MXD down by name....&lt;/P&gt;&lt;P&gt;thanks ed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 15:38:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-can-i-close-an-mxd-using-arcpy-script/m-p/88305#M6870</guid>
      <dc:creator>EdMorris</dc:creator>
      <dc:date>2016-07-05T15:38:39Z</dc:date>
    </item>
  </channel>
</rss>

