Convert path to file system path on windows

Dr.No jckj33 at gmail.com
Thu Jun 21 18:46:05 UTC 2018


How can I do that with D?

In C# you can do that:

var filename = @"C:\path\to\my\file.txt";
var file = new Uri(filename).AbsoluteUri;
// file is "file:///C:/path/to/my/file.txt"

How can I do that in D?



More information about the Digitalmars-d-learn mailing list