Fix7Zip

Fix7Zip

Written by

Barry Stanly

Printed on May 16, 2022

Copyright 2022 by Barry Stanly

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


C O N T E N T S

1 Installing 7-Zip

2 Process

3 License

4 Release Notes

F I G U R E S

Figure 2-1 Invoking Fix7Zip
Figure 2-2 Manually Editing the Path


1 Installing 7-Zip

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.


2 Process

  1. First install 7-Zip, either from https://www.7-zip.org/, or from the Windows store. Both installations are free.

  2. Then execute the installer (the Windows Store will do this for you.)

  3. 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.

  4. 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.


Figure 2-1 Invoking Fix7Zip


Figure 2-2 Manually Editing the Path


For this case double-click on Fix7Zip.exe and click Fix7Zip. See Figure 2-1. Then close all terminal windows and repeat the test. If you still get an error, 7-Zip is not installing properly.

  1. To open the Edit Path dialog, click Manually Edit the Environment, Click Path, Click Edit, see Figure 2-2. Use caution when manually editing the Environment or Path.


3 License

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.


4 Release Notes

Version 1.0.0.0 -- Initial release
Version 1.0.1.0 -- Improved detection of 7-zip
Version 1.0.1.1 --

  1. Fixed adding multiple entries of 7-Zip to path.

  2. Added manual edit of path (to remove multiple entries.)


Related

Wiki: Simple_Utilities