Skip to content

%Current% is missing trailing \ #921

@JuriTuuti

Description

@JuriTuuti

%Current% only sends trailing \ when it is a root directory, else it is missing.

In the best case this means that the receiving program will always have to check if the parameter ends with \ .

In the worst case the receiving program will not know if it is receiving a file or a path, in which case it most likely triggers an exception, or does something unexpected - like instead of creating d:\pathname\filename.txt it creates d:\pathnamefilename.txt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions