Klugier Messages: 1099 Registered: September 2012 Location: Poland, Kraków
Senior Contributor
Hello Sayem,
Quote:
Thank you very much. It puts up a lot of burden
Yes that's true. For Linux it is reading /usr directory and for Windows it reads "C://". All these directories have a lot of files. If you want to limit that behaviour just replace following lines with appropriate directory in the example:
#ifdef PLATFORM_WIN32
String dir = String(GetExeFilePath()[0], 1) + ":\\";
#else
String dir = "/usr";
#endif