invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Syntax

Files can be moved using the syntax:

local move files "SPECIFICATION" to "SPECIFICATION"

The specification can contain a directory path. When no directory path is specified, the current working directory is used. The specification must contain a file pattern with the following special characters:

  • *: sequence of any 0, 1 or more characters.
  • ?: any character.

Examples

The following example moves (renames) the file c:\temp\temp1.bin to c:\temp\temp2.bin:

local move files "c:\temp\temp1.bin" to "c:\temp\temp2.bin"

The following example moves all file with extension .bin and name starting temp in the folder c:\temp to the folder d:\temp:

local move files "c:\temp\temp*.bin" to "d:\temp"