I have 7-Zip installed, and it works from Windows, but not from the DOS prompt or command line:
7z e max_logs_can_messages.tgz
'7z' is not recognized as an internal or external command, operable program or batch file.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You'll need to add the binary to your machine's PATH
See more here: http://www.7-zip.org/faq.html
You can either copy 7-Zip to a well-known path like these:
C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem
or you call 7-Zip with the full path:
Or you do the thing Screenack said ;)
You need to add the 7-Zip folder to your
setx /M path "%path%;C:\Program Files\7-Zip\"
Alternatively, for Easy 7-Zip:
setx /M path "%path%;C:\Program Files\Easy 7-Zip\"
while zipping in cmd or git bash - getting error like
7z:command not found
Now to use 7z in git Bash
Now, you will be able to use 7z with Git Bash