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))
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.