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.

Reply via email to