How can I access files next to executable?

Hey reading … guy,
how can i access files for example in a folder next to my executable while running.

Generally, you shouldn’t. If you know you’re only building to Windows, you can, but again, you shouldn’t unless you have to. It’s highly recommended to use Unity’s build pipeline to ensure assets are distributed properly, work in a multi-platform environment, and you’re not opening up your code to io hacks.

But if you insist, you can use the standard .NET IO library to do so, and you can use reflection to get the path of the currently executing assembly.