string path = thisExePath()Seems like "dirName" in std.path is a good candidate ;) http://dlang.org/phobos/std_path.html#.dirName You'll find many other path manipulation functions there.
Thanks! But if I want to strip it, how I can cut it?
string path = thisExePath()Seems like "dirName" in std.path is a good candidate ;) http://dlang.org/phobos/std_path.html#.dirName You'll find many other path manipulation functions there.
Thanks! But if I want to strip it, how I can cut it?