Download MetaTrader 5

FolderDelete

Deletes specified folder.

bool  FolderDelete(
   const string  folder_name      // folder name
   )

Parameters

folder_name

[in]  Name of the folder to delete. It contains path to the folder relative to the folder defined by FILE_COMMON flag.

Return Value

true - successful, false - cannot delete the folder.

Note

The working folder is dependent on the flag that was previously set/reset using the SetCommon() method.


Updated: 2016.04.11