How to set up a scheduled task to make zip files with a bat?

What do you have to do to compress zip files with a bat?

Zip files have long been one of the best options for reducing the size of large batches of documents, an option that makes it easy to share them. Compression is usually done manually, selecting each file individually and creating folders to then compress and save them easily.

To begin, you should do an internet search for the best batches for compression, you can find varieties that may work better than others. Keep in mind that these batches must be downloaded to your computer, they will be necessary so that the compression can be done correctly just by activating the bat.

There are many tools available on the web, access the one you prefer. You can use 7-Zip, IZArc or WinZip, most people already have the latter. Once you find your helper, it will be time to start creating the bat to achieve rapid compression of your articles.

Create the batch file for your bat

At this point it is necessary that you read carefully to understand the process, because it can be a bit difficult if it is done without knowing the steps well.

windows window and folders


To start, press the “Start ” key , select “All Programs” go to the “Accessories ” section and open the “Notepad”.  In the first line of the new page you must write the phrase “@echo off”, press “Enter ” to be positioned on the second line. It is necessary that the command of the complement that you have downloaded is placed in this line.

For 7-Zip, “7za a-tzip”, in case of downloading IZArc, “-a-cx”, finally, for WinZip, the command will be “ wzzip ” with these commands it will be ready. You must go directly to the “File ” menu and click on the option  “Save as …” the name of the file will be Zip.bat or whatever you decide, do not change the format. It only remains for you to decide where the file will be saved, keep in mind that the ideal is to have it in a folder where it is always at hand.

Set up this new scheduled task

To make zip files with a bat, you must allow the process on the computer, it is a really simple procedure, you only need to do a few clicks. First, make sure that the file has been saved where you designated it, so you will be sure that it is there, this will be useful later.

Well, go back to “Start “, go to “Control Panel” and double click on the “Scheduled Tasks ” section , at this point you have half done. You have to click on the option “Add scheduled task”, making the wizard fire, you must follow it to add the task. In case you prefer to know what to do, first, you have to click on the “Browse ” option , take care to remember the site and select the bat file that you have created.

zip file folder


Once you find the file, click on “Open “, from now on, you just have to wait for the installer to carry out its operations normally. And you’re done with that, you know how to configure a scheduled task to make zip files.

Some tips for handling zip files with a bat

Bats are hover files that perform assigned tasks with ease, but they are also a bit of a mess at times.

It is recommended that you have a backup of your bat file in case the main one fails, in addition, you need to change it frequently. This is because something can be damaged on the route and this will not be done. You should also know that if the file to be decompressed is corrupt, it is not the end of the world, since it is possible to repair and extract corrupted ZIP files from Windows 10 online . These are all simple precautions that, when taken into account, will make it easy to schedule tasks.

Remember that to learn more about this topic and really master it, you should look for more information such as what are the best programs and applications to open ZIP files? , with that said good luck in what you are going to do.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button