AnsweredAssumed Answered

Script to Copy File in Modelbuilder

Question asked by cwholmes on Apr 8, 2016
Latest reply on Apr 15, 2016 by cwholmes

Hi all,

I have a very simple python script to copy a file from one location to another:

import shutil

shutil.copy("c:/chris/Test1/CitizenComments.mxd" , "c:/chris/test2/CitizenComments.mxd")


If I take this script and put it in a model builder model, what change would I have to make to the code so that I could have a parameter in the model where a user could enter an index string to be appended to the front of the file name?