On Friday, 13 April 2012 at 16:41:01 UTC, Bystroushaak wrote: > Use std.path.expandTilde() -> > http://dlang.org/phobos/std_path.html#expandTilde Thank you very much! That did the trick! auto f = File(expandTilde("~/.config/test.txt","w"));