Core Function RMDir

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> RMDir ( <path>, <flag> ) </pre> === Description === Deletes the specified directory and, if indicated, any subdirectories in the directory. === Parameters === ==== path...")

Latest revision as of 13:00, 2 December 2011

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