Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at: https://www.gnu.org/copyleft/fdl.html.
STF (documentation system) is hosted at https://sourceforge.net/p/simpletextformatter
The PDF version of this document may be downloaded from Source Forge:
https://sourceforge.net/projects/windows-power-utilities/files/Fix7Zip/ Fix7Zip.pdf/download
Fix7Zip may be downloaded from:
https://sourceforge.net/projects/windows-power-utilities/files/Fix7Zip/ Fix7Zip.exe/download
Figure 2-1 Invoking Fix7Zip
Figure 2-2 Manually Editing the Path
Normally you download the 7-Zip installer from https://www.7-zip.org/, execute the installer and you are done. However if 7-Zip is not visible from the command line, run Fix7Zip and it will attempt to locate 7z.exe and add it to the list of executable files so that command line invocations work.
The list of executable programs is encapsulated in Environment Variable path. Fix7Zip adds the location of 7z.exe to the path. Afterwards 7z.exe should be executable from the command line.
First install 7-Zip, either from https://www.7-zip.org/, or from the Windows store. Both installations are free.
Then execute the installer (the Windows Store will do this for you.)
Then open a terminal window. For W11, right-click in an open area using Explorer, and choose Open in Terminal. For W10, Press the Windows-key along with "R" (<Windows-key>R) and enter cmd.
Then enter 7z --Help. 7z should respond with a list of the supported operations. If it does not and responds with an error similar to
'7z' is not recognized as an internal or external command, ..., or
7z : The term '7z' is not recognized as the name of a cmdlet, function, script file, ...,
then it is necessary to run Fix7Zip.
These programs are free software: you can redistribute them and/or modify
them under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
These programs are distributed in the hope that they will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
A copy of the GNU Lesser General Public License may be downloaded from
http://www.gnu.org/licenses.
Version 1.0.0.0 -- Initial release
Version 1.0.1.0 -- Improved detection of 7-zip
Version 1.0.1.1 --
Fixed adding multiple entries of 7-Zip to path.
Added manual edit of path (to remove multiple entries.)