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

Compress name #69

Open
Letsdiehottie opened this issue Nov 30, 2024 · 9 comments
Open

Compress name #69

Letsdiehottie opened this issue Nov 30, 2024 · 9 comments

Comments

@Letsdiehottie
Copy link

Letsdiehottie commented Nov 30, 2024

When Right click a file and choose compress to .zip

And the known file extension is shown

For example i want to compress

CCleaner.exe

The compressed file would be ccleaner.exe.zip

The normal would be CCleaner.zip

And please improve the function of delete after compress as it fail to delete some files
The file not in use not system file

Not to compare but winrar deletes the same file which 7zip couldn't

@ip7z
Copy link
Owner

ip7z commented Nov 30, 2024

  1. check it again (zip extension)
  2. what files were deleted and what files were not deleted?

@Letsdiehottie
Copy link
Author

I did check it in multiple windows 11 and 10
Sorry my last issue didn't explained well

7 zip compress the file name

It just add the extension before the extension of zip

CCleaner.exe.zip
The .exe is the extra

It didn't delete a hidden folder in usb drive
Not virus not corrupted
And not effect the files on usb drive when i deleted it

@Letsdiehottie
Copy link
Author

So Sorry for the inconvenient i download your latest 7zip 24.09 and the naming issue is solved
I'll check the delete function and report to you

Sorry again 😅

@ip7z
Copy link
Owner

ip7z commented Nov 30, 2024

7-zip doesn't delete read-only folders.
I'll fix it in next version.
Thanks!

@Letsdiehottie
Copy link
Author

Glad to be helpful
Sir can you give me an email where i can send you attachments

@Letsdiehottie
Copy link
Author

20241130_220913
Not all .exe show the problem
Just some of them

This nvcleaninstall for example

@ip7z
Copy link
Owner

ip7z commented Nov 30, 2024

It has several dots in file name.
So 7-Zip uses another rules for archive name generation.

@BiatuAutMiahn
Copy link

Why not reverse search for . and trim name from that offset?

@ip7z
Copy link
Owner

ip7z commented Nov 30, 2024

Some names could look so:
file 2024.11.30
So it's not good to reduce such names to file 2024.11.zip.

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

3 participants