Skip to content

Unsupported file name characters on Windows #1

@organnerx

Description

@organnerx

When you extract all files from .nar an Extractor.exe will stop an extraction if it encounter a file inside the .nar with the "?" in the name (cause Windows naming limitation). Error message: "An error occured while extracting the files."
Expected behavior: Extract everything that it is possible to extract and don't stop an extraction of the next files. Plus at the end of extraction show some log with list of files that were skipped. However what to do if you don't want the files to be skipped and need to extract them somehow? I suggest to extract the files with bad names too but programmatically rename them somehow, and in the end show in the log what names was changed to what so you can know where are the files coming from, like:
"kekw/qwerty/abc????.png" => "kekw/qwerty/abc____.png"
...
extraction

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