If an item in a zip file has a bad character in it, such as a colon, attempting to unzip it with
right-click (XY-context menu) > Zip > Extract here
results in this error
I wish I could just manually fix it in a prompt, right then and there.
Thinking it a bit further, it would be nice to be able to configure some default replacements, such as colon to dash, perhaps via some tweaks, and to have the suggested change already in the dialog textbox (with an "auto-fix all bad names in this zip" checkbox).
Gracefully handling bad chars in zip-item names
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Gracefully handling bad chars in zip-item names
Windows 8.1, 64-bit
-
- Site Admin
- Posts: 60585
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Gracefully handling bad chars in zip-item names
No chance. I'm just remote controlling the shell here. I have no influence on the filenames.
FAQ | XY News RSS | XY Twitter
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Gracefully handling bad chars in zip-item names
I feel like I've reached the edge of the universe
Windows 8.1, 64-bit
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Gracefully handling bad chars in zip-item names
When you use 7-Zip's Extract command, it automatically changes colons to underscores. When you select the files and drag them out, the dialog *says* it's working, but no files end up in the target directory. I'm guessing they successfully uncompress to some temp directory, but then can't be copied. And you can't change the name directly in the zip file either.
Really annoying.
Really annoying.
Last edited by aliteralmind on 03 Feb 2015 19:23, edited 1 time in total.
Windows 8.1, 64-bit
-
- Site Admin
- Posts: 60585
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Gracefully handling bad chars in zip-item names
How get the underscores into the zip in the first time?
FAQ | XY News RSS | XY Twitter
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Gracefully handling bad chars in zip-item names
I can only guess it was created on a non-PC, where colons are valid filename characters.
You say you're remote controlling out to something. It must be built-in Windows thing, as I only have 7-Zip installed. I'm curious where the progress dialog (displayed while the zip is being created) comes from. It looks to me like a built-in XY dialog, which implies you're getting a constant flow of information from that zipping tool, with which you can create the progress dialog.
You say you're remote controlling out to something. It must be built-in Windows thing, as I only have 7-Zip installed. I'm curious where the progress dialog (displayed while the zip is being created) comes from. It looks to me like a built-in XY dialog, which implies you're getting a constant flow of information from that zipping tool, with which you can create the progress dialog.
Last edited by aliteralmind on 04 Feb 2015 04:17, edited 2 times in total.
Windows 8.1, 64-bit
-
- Site Admin
- Posts: 60585
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Gracefully handling bad chars in zip-item names
It's the "ZipFolder" technology built into Windows. I'm just kicking it off.
FAQ | XY News RSS | XY Twitter