VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

DIRECTORY

Windows Linux macOS

Syntax

DIRECTORY CHANGE, <path>

DIRECTORY CREATE, <path>

DIRECTORY DELETE, <path> {, ALLOWUNDO, CONFIRM, SHOWERRORS }

DIRECTORY RENAME, <path1>, <path2> {, ALLOWUNDO, CONFIRM, SHOWERRORS }

Description

The DIRECTORY command is used to change, create, delete or rename directories.

DIRECTORY CHANGE changes the current directory to the one named in <path>. If <path> is on a different drive to the current drive then this is changed as well.

DIRECTORY CREATE creates a new directory named <path>. If necessary, it will recursively create all the subdirectories in the path.

DIRECTORY DELETE removes the directory named in <path>. The directory must be empty or it will not be removed.

DIRECTORY RENAME renames the directory named in <path1> to the directory named in <path2>. This is functionally the equivalent of moving the directory.

DIRECTORY DELETE and DIRECTORY RENAME support additional options that allow applications to offer some protection against inadvertently deleting files. ALLOWUNDO deletes the directory to the Recycle Bin, so it can be undeleted later if required. CONFIRM causes a dialog to be displayed requesting confirmation of the action. If SHOWERRORS is specified, a warning message is displayed if the operation cannot be completed.

OK

False if the operation failed.

Example

DIRECTORY CREATE, C:\MyData\Temp

See also