Set “movedir1=C:\Users\user2\Desktop\test\7zip\folder1\folder12”
#CREATING A ZIP FOLDER ARCHIVE#
REM - Set location to extract above archive -– REM - Set location of the archive to extract (change as required) -– Set path=”F:\Utilities\7zipCommmandline_new\” %path% REM - Set path of console version 7-Zip (change as required). REM a user defined folder – folder will be created if it doesn’t exist. REM Uses standalone console version of 7-Zip to extract archive to SETLOCAL EnableExtensions EnableDelayedExpansion Just follow the guide exactly and you will be zipping faster than ever before! “%zipdir%\*.*” are all the files in the “zipdir” folder ready for zipping.Īs you can see, you don’t have to type any lines of code by yourself as there are already prepared batch files that can do the job for you.“%movedir%\%myfolder%_%TODAY%.zip” is the name of the zipped folder.
#CREATING A ZIP FOLDER INSTALL#
If it can’t, you need to install the app again. This is done to make sure the command prompt can find the application. The default one is in C:\Program files, but you can change it by clicking on the Browse. Read (or pretend to read) the License Agreement and then select “I accept the agreement”, and click Next.Download the IZArc Command Line Add-On.And when the process is finished, click Close.The default one is C:\Program files, but you can change it by clicking on the three dots.
#CREATING A ZIP FOLDER .EXE#
exe file you downloaded from the official site.