Temporary

Registers a file as a temporary file for the script.

KCM Core removes a file when it executes the Temporary command to prevent conflicts if the script creates the file later. At the end of the current script, KCM Core tries to remove the file again to provide proper cleanup.

Syntax

Temporary
   File(<text>)
   EndOfJob(True or False);

Parameters

  • File: Required. The name of the file that KCM Core manages as a temporary file.
  • EndOfJob: Optional. If this parameter is not present or if its value is False, KCM Core deletes the file at the end of the current script. If this parameter is True, KCM Core deletes the file at the end of the job.