Creating a file in ~/.config (ubuntu)

Minas minas_mina1990 at hotmail.co.uk
Fri Apr 13 12:56:19 PDT 2012


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"));




More information about the Digitalmars-d-learn mailing list