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

Feature request: File name without extension #99

Closed
DSplawski92 opened this issue Oct 4, 2023 · 2 comments
Closed

Feature request: File name without extension #99

DSplawski92 opened this issue Oct 4, 2023 · 2 comments

Comments

@DSplawski92
Copy link

I would be nice to have file name (without extension) param or extract it somehow from existing {name} param.

For example if I would like to extract archive file to the folder with the same name as extracted file.
Currently it is not possible, because it tries to create folder with exact name as archive which is not possible.

@ikas-mc
Copy link
Owner

ikas-mc commented Oct 5, 2023

will add next version...

a temporary workaround

powershell

[System.Diagnostics.Process]::Start('"C:\Program Files\7-Zip\7zG.exe"',  '"x "{path}" -o"{parent}\' +[System.IO.Path]::GetFileNameWithoutExtension('"{name}"') + '"')

https://github.com/ikas-mc/ContextMenuForWindows11/files/12811467/7z.Extract.zip

@ikas-mc
Copy link
Owner

ikas-mc commented Apr 20, 2024

https://github.com/ikas-mc/ContextMenuForWindows11/releases/tag/5.0.0.0

{nameNoExt} file name without extension, version >=5.0
{extension} file extension, version >=5.0

@ikas-mc ikas-mc closed this as completed Apr 20, 2024
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

2 participants