Skip to content

Brackets [] are actually allowed in file names on Windows #485

@walteweiss

Description

@walteweiss

On Windows, escaping special characters is not supported as the \ character is used as a path separator. On the other hand, special characters such as [ and ? are not allowed in file names on Windows.

From the documentation: How can I exclude files with brackets ([]) in the name?

While it’s true to the ? question mark symbol, it’s not true to the brackets [], here’s the proof, and anyone can check that on Windows.

Brackets do work on Windows in the filenames.

It’s a minor mistake, but it’s confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions