DELETE

System Testing Supervisor Script Language.

Purpose

The DELETE instruction deletes a local or remote file.

Syntax

DELETE <filename>

where:

Description

<filename> may be specified with an absolute or relative path, or as <hostname>: <filename>, where <hostname> is a remote host running a System Testing Agent daemon.

The filename may contain environment variables that are local to the System Testing Supervisor machine or that are defined on the remote machine. For more information, refer to the section on Environment variables

If the file to be deleted does not exist or is write-protected, you will receive an error message. (See ERROR.)

Path and filenames may contain long quoted pathnames, such as "C:\Program Files\HCL\OneTest Embedded\".

Example

HOST target_2 IS 123.4.56.7(10098)

DELETE target_2:$DIR/../remote_file

DELETE local_file

Related Topics

ERROR