zip is not recognized as an internal or external command
where can I find zip
on my machine in order to run
'zip` cmd?
zip is not recognized as an internal or external command
where can I find zip
on my machine in order to run
'zip` cmd?
You need to install the aplication. Later, add the folder where is located to your system PATH environment variable.
tar -cvzf Your_deployment_package.zip files.py
Use tar -cvzf in start instead of zip will work for me.
I had to run a bat file which had zip command to be executed, I used to get "'zip' is not recognized as an internal or external command, operable program or batch file."
I went to http://stahlworks.com/dev/index.php?tool=zipunzip, downloaded zip.exe and set it in Environment variables, it is working for me now.
The below method worked for me.
By default, Windows doesn't support zip command. Instead, install a third party software like 7-zip. If you are using npm, then copy the "7z.exe" to the folder where npm is installed. In my case, npm was installed under "C:\Users\user-name\AppData\Roaming\npm"
I use 7-Zip as my zip tool, and the name of its file is 7z.exe. Windows expects the name to be zip.exe, not 7z.exe. So, I renamed it to zip.exe and it did the trick. Don't forget to add the renamed file to environment variable path.