Possible bug in std.path?

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Wed May 18 22:06:44 PDT 2016


On Thursday, 19 May 2016 at 03:49:36 UTC, Hugo wrote:

> mytest "my dir\"

Here, your backslash is used to escape the second " character.

> Error: 'my test"' is not a valid directory path.

Here you can see the final string value of the program argument 
in your program.

The correct invocation is: mytest "my dir\\"

In the future, consider posting to the learn group.


More information about the Digitalmars-d mailing list