Oh, so you're using this program to compile. I thought you were trying your own IDE and calling the compilation via a BAT file. So, I don't know the program, the author will answer it best. The only thing that bothers me is the annoying thing - do you happen to use national (ie non-US) characters in the name of the file that is compiled into EXE? I assume that even the current IDE simply does not have accessible folders with a name that contains national Unicode characters. The solution has existed for a long time, but - I don't want to task anyone. I don't want to and I won't. He would just have to integrate Direntry.h into the IDE and then fix that. Maybe that's the reason. If the compilation takes place and the exe file can to run separately, there can be no other reason.
For example, in the current IDE, if you try to save a file to a folder that has unicode characters in its name, it will fail. It ends with the message Error -07b2101 Path not found.