Rename file

This tool will rename a user-specified input raster or vector data set, including all associated files.

See Also:


This is an example of a Python script using this tool:

wd = pluginHost.getWorkingDirectory()
input_file = wd + "input.dep"
output_file = wd + "output.dep"
args = [input_file, output_file]
pluginHost.runPlugin("RenameFile", args, False)

And the following is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.dep"
def outputFile = wd + "output.dep"
String[] args = [inputFile, outputFile]
pluginHost.runPlugin("RenameFile", args, false)