On Thursday, 10 October 2019 at 18:52:32 UTC, Jarek wrote: > On Monday, 23 September 2019 at 12:31:16 UTC, Adam D. Ruppe > wrote: >> [...] > > Hello, > thanks for reply. > This is my first dlang work: > import std.stdio; > import std.conv; > import core.sys.posix.dirent; > > [...] You should use fromStringZ: https://dlang.org/phobos/std_string.html#.fromStringz