Core Function RMDir

From Sputnik Wiki
Revision as of 13:00, 2 December 2011 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RMDir ( <path>, <flag> )

Contents

Description

Deletes the specified directory and, if indicated, any subdirectories in the directory.

Parameters

path

The path to use.

flag

Optional; If flag is higher than any subdirectories in the directory will also be deleted.

Default 0.

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

None

Example

mkdir('test\test2\test3');
rmdir('test', 1);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox