I was moving a file by mistake and ended up creating a folder that I only managed to delete using the unlocker, I wanted to delete using Autoit more could not delete.
Example of code that created the folder by mistake and it does not delete.
IniWrite(@ScriptDir & "\test.txt", "testing", "test", "0")
filemove(@ScriptDir & "\test.txt", @ScriptDir & "\folder test / test.txt", 9)