Chapter 6 RAPID!
Functions
WCDMA Options Version 6.20
197
NAME
RMDIR
SHELL
Parameters
path$ is a valid string expression.
Description
Creates a new directory with the
path$ specified.
path$ may either be a relative or absolute directory
name.
If
path$ is not a valid directory name, a runtime error
will occur.
Examples
MKDIR "/usr/new"
Syntax
NAME oldName$ AS newName$
Parameters
oldName$ and newName$ are both valid string expres-
sion.
Description
Changes the name of the file specified with
oldName$
to
newName$.
Both
oldName$ and newName$ have to be valid file
names.
If
oldName$ is currently open, a runtime error will
occur.
Example
NAME "/usr/new/file.txt" AS "/usr/
new/file_2.txt"
Syntax
RMDIR path$
Parameters
path$ is a valid string expression.
Description
Deletes a directory with the
path$ specified without
prompting.
path$ may be either a relative or an absolute directory
name.
If
path$ is not a valid directory name or if the directory
is not empty, a runtime error will occur.
Example
RMDIR "/usr/new"
Syntax
SHELL parameter$
Parameters
parameter$ is a valid string expression.