Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported file name characters on Windows #1

Open
organnerx opened this issue Aug 18, 2024 · 0 comments
Open

Unsupported file name characters on Windows #1

organnerx opened this issue Aug 18, 2024 · 0 comments

Comments

@organnerx
Copy link

organnerx commented Aug 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant