Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Getting re-create directory failure. #2296

Closed
TrevorCash opened this issue Apr 4, 2018 · 1 comment
Closed

Getting re-create directory failure. #2296

TrevorCash opened this issue Apr 4, 2018 · 1 comment

Comments

@TrevorCash
Copy link
Contributor

TrevorCash commented Apr 4, 2018

GetSubsystem<FileSystem>()->RemoveDir(dir, true);
GetSubsystem<FileSystem>()->CreateDir(dir);

This code will fail for me on my windows machine if the directory already exists.

The directory is removed. But the directory is not created again, I get a failed to create directory message from Urho.

The directory is in the users documents directory. I am on windows 10 64bit.

@TrevorCash
Copy link
Contributor Author

This issue was moved to rbfx/rbfx#8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants