import os import shutil #get the location of the result files localProfile = os.getenv("APPDATA") ArcMapVersion = "10.2" inGPResultFiles = os.path.join(localProfile, r"ESRI\Desktop" + ArcMapVersion, r"ArcToolbox\History") #set output location outGPResultFiles = r"C:\Temp" #loop through result XML files and copy for result in os.listdir(inGPResultFiles): shutil.copyfile(os.path.join(inGPResultFiles, result), os.path.join(outGPResultFiles, result))
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.