Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Asset Console Creating an Access Definition File Guide


$FILECOPY (copy file)

$FILECOPY copies a file.

Organization of this page

Syntax

$FILECOPY(source-file-name,destination-file-name)

Values

Status

The following table lists and describes the possible statuses:

Status

Description

NORMAL

Normal end

NODATA

ERROR

Indicates one of the following:

  • No source file exists.

  • The output destination path does not exist.

  • The file name specification is invalid.

Script execution interrupted

An invalid argument was specified, or an error other than the above occurred.

Legend:

—: Not applicable

Example

The following example copies the file input.csv to the file output.csv:

[SET_VALUE]
  SRCFILE = 'input.csv'
  OUTFILE = 'output.csv'
  $FILECOPY(SRCFILE, OUTFILE)