../pvss.htm menu.gif basics.gif

rmdir()

The function deletes the specified directory.

Synopsis

 bool rmdir(string dir, bool recursive);

Parameters

Return value

If the operation has been executed succesfully, the function returns 1 otherwise, 0.

Error

Missing or wrong parameter definitions.

Description

The function deletes the specified directory.

IconExample

main()

{

bool result;

result = rmdir("C://test3",TRUE);

DebugN(result);

}

Assignment

File functions

Availability

 

See also

copyFile(), moveFile(), mkdir(), isdir(), isfile(), getExt(), delExt().

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved