RMDIR
System Testing Supervisor Script Language.
Purpose
The RMDIR instruction deletes a directory from the System Testing Supervisor machine or from a target machine.
Syntax
RMDIR [ <hostname>: ] <directory>
where:
- <hostname> is an optional logical name of a target machine (see HOST)
- <directory> is the relative or absolute path of a directory
Description
The directory path name may contain local environment variables of the System Testing Supervisor machine or remote environment variables defined on the target machine. For more information, refer to the section on Environment variables.
If the operation fails, the script returns an error message.
The <directory> path may contain long quoted pathnames, such as "C:\Program Files\Rational® Test RealTime\Rational® Test RealTime\".
Example
HOST target IS antares.tlse.fr(10098)
RMDIR ../localdir
RMDIR target:$HOME/tmp
Related Topics