Created
September 2, 2022 11:59
-
-
Save Makeshift/63ec8f4f05aff81030dd7fbf07c37a9d to your computer and use it in GitHub Desktop.
Right-click tar options for Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.gz] | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.gz\shell] | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.gz\shell\extract] | |
@="Extract archive..." | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.gz\shell\extract\command] | |
@="C:\\Windows\\system32\\tar.exe xzf \"%1\"" | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bz2] | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bz2\shell] | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bz2\shell\extract] | |
@="Extract archive..." | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bz2\shell\extract\command] | |
@="C:\\Windows\\system32\\tar.exe xjf \"%1\"" | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.xz] | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.xz\shell] | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.xz\shell\extract] | |
@="Extract archive..." | |
[HKEY_CLASSES_ROOT\SystemFileAssociations\.xz\shell\extract\command] | |
@="C:\\Windows\\system32\\tar.exe xJf \"%1\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Compress to .xz archive...\Command] | |
@="C:\\Windows\\system32\\tar.exe czf \"%1.xz\" \"%1\"" | |
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Compress to .xz archive...\Command] | |
@="C:\\Windows\\system32\\tar.exe czf \"%1.xz\" \"%1\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\Compress to.xz archive...] | |
@="Compress to.xz archive..." | |
[HKEY_CLASSES_ROOT\Directory\shell\Compress to.xz archive...\command] | |
@="C:\\Windows\\system32\\tar.exe czf \"%1.xz\" -C \"%1\" \"*\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extracting single-files is slightly annoying due to how regedit passes the full path to tar, not sure how to fix that.