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))
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.