How Can I Close an mxd using arcpy script. Thanks
import os os.system("TASKKILL /F /IM ArcMap.exe")
import os os.startfile("Your MXD Path")
This will kill ArcMap itself.import os os.system("TASKKILL /F /IM ArcMap.exe")
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