Hi
I have just blogged on this >>
Using Python to close an ArcMap map document down | Spatial Needs....
This will show you how to close an MXD down by name....
thanks ed
This will kill ArcMap itself. import os os.system("TASKKILL /F /IM ArcMap.exe")
import os os.system("TASKKILL /F /IM ArcMap.exe")
import os os.startfile("Your MXD Path")
How Can I Close an mxd using arcpy script. Thanks
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.