How create folder when my game is running

Hello, I want create a folder when my game is running. I’ve tried to use the c++ function [mkdir], but it doesn’t work.
So, how I can do that.

Found this with a quick google search: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

Specifically:

Verify or Create Directory
//If this function cannot find or create the directory, returns false.
static FORCEINLINE bool VerifyOrCreateDirectory(const FString& TestDir) const
{
	// Every function call, unless the function is inline, adds a small
	// overhead which we can avoid by creating a local variable like so.
	// But beware of making every function inline!
	IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
 
	// Directory Exists?
	if (!PlatformFile.DirectoryExists(*TestDir)) 
	{
		PlatformFile.CreateDirectory(*TestDir);
 
		if (!PlatformFile.DirectoryExists(*TestDir)) 
		{
			return false;
			//~~~~~~~~~~~~~~
		}
	}
	return true;
}