JCL Help:DeleteDirectory

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Deletes specified directory or moves it to recycle bin.


Pascal

 function DeleteDirectory(const DirectoryName: string; MoveToRecycleBin: Boolean): Boolean;


Parameters

Parameters Description
const DirectoryName: string Directory to be deleted.
MoveToRecycleBin: Boolean If True the directory will be moved to the system Recycle Bin instead of being deleted.


Description

Delete the specified directory either permanently or moves it to recycle bin. The behaviour depends on the value of MoveToRecycleBin parameter.


About

Unit

JclFileUtils


Donator

Jean-Fabien Connault


Platforms

Windows NT/2000/Vista: Requires Windows NT 3.1 or later. Windows 95/98: Requires Windows 95 or later.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page