UBlueprintFileUtilsBPLibrary::MakeDirectory

Makes a new directory, and optionally sub-directories

Windows
MacOS
Linux

References

Module

BlueprintFileUtils

Header

/Engine/Plugins/BlueprintFileUtils/Source/BlueprintFileUtils/Public/BlueprintFileUtilsBPLibrary.h

Include

#include "BlueprintFileUtilsBPLibrary.h"

Source

/Engine/Plugins/BlueprintFileUtils/Source/BlueprintFileUtils/Private/BlueprintFileUtilsBPLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="FileUtils")
static bool MakeDirectory
(
    const FString & Path,
    bool bCreateTree
)

Remarks

Makes a new directory, and optionally sub-directories

Returns

true if the directory was created, false otherwise

Parameters

Parameter

Description

Path

The directory path to make

bCreateTree

If true, the entire directory tree will be created if it doesnt exist. Otherwise only the leaft most directory will be created if possible

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