Delete Directory

Delete Directory

Windows
MacOS
Linux

Deletes a directory and all the files in it and optionally all sub-directories and files within it

Target is Blueprint File Utils BPLibrary

Delete Directory
Directory
Must Exist
Delete Recursively
Return Value

Inputs

In
Exec
Directory
String

The Directory to delete

Must Exist
Boolean

If true, the directory must exist or the return value will be false

Delete Recursively
Boolean

If true, all sub-directories will be deleted as well. If false and there are contents in the directory, the delete operation will fail.

Outputs

Out
Exec
Return Value
Boolean

true if the directory was succesfully deleted, false otherwise

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss