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