<<

Contents

Search

>>

 

KILL_DIRECTORY

 

 

Instruction

 

 

Syntax:

KILL_DIRECTORY <Directory> ON ERROR … END

 

<Directory> = <STRING-EXPRESSION>

 

Meaning:

Removes the directory <Directory>. In the case of an error the block ON ERROR ... END is executed.

 

A directory can only be removed if it is empty.

 

To delete files the instruction KILL must be used.

 

Parameter:

Directory

Name of directory to remove

 

Sample:

KILL_DIRECTORY "D:\SUB" ON ERROR … Error … END

 

See also:

KILL

KILL_CLIENT

KILL_DIRECTORY_CLIENT

MAKE_DIRECTORY