xxxxxxxxxx
7-ZIP is better, no hate for the "Winrar Gang", I will provide the
download for both of them here:
Downloads:
-- 7-Zip (Recommended, Open Source)
-- -- Windows
-- -- -- 64-bit: https://www.7-zip.org/a/7z2107-x64.exe
-- -- -- 32-bit: https://www.7-zip.org/a/7z2107.exe
-- -- -- 64-bit ARM64: https://www.7-zip.org/a/7z2107-arm64.exe
-- WinRAR (Not Recommended, Propriotery Garbage)
-- -- Windows (only available for windows :o)
-- -- -- 64-bit: https://www.win-rar.com/postdownload.html?&L=0
-- -- -- 32-bit: https://www.win-rar.com/postdownload.html?&L=0&Version=32bit
Bye Bye!!
xxxxxxxxxx
Add the folder containing 7z.exe to PATH variable: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
Restart your cmd/terminal and then use one of the following commands:
# Extract to current folder:
7z x "C:\example.zip"
# Extract to a sub-folder (Makes it if it doesnt already exist):
7z x "C:\example.zip" -oFOLDER_NAME_HERE
# Extract to a specific folder (Makes it if it doesnt already exist):
7z x "C:\example.zip" -o"C:\FOLDER_NAME_HERE"
For more info: https://www.dotnetperls.com/7-zip-examples