How to Zip and Unzip the files in folder using batch script | How to open file using Batch script
Welcome back to my channel!
In this video, I will show you how to create a batch script to zip and unzip files in the current directory or in a specific folder. It's a simple and straightforward process that anyone can do.
To begin, you'll need a zipping software installed on your machine. You can use any zipping software you have, such as WinZip or 7-Zip. Make sure the zipping software's executable file (exe) is placed in the current directory where you want to zip your files.
Next, we'll create a batch script to perform the zipping or unzipping. Open a new text document and write the batch script using the zipping software's executable and a magic command. For zipping files, use the command "A" followed by the desired zip file name. To specify a path, provide the folder path as a parameter in the batch script.
Save the text document with a .bat file extension, and you're ready to test the batch script. Double-click on the .bat file, and the zipping or unzipping process will begin. You'll see a pop-up window indicating the progress. Once it's done, you can check the resulting zip or extracted files in the current directory.
If you want to zip only specific files in a folder, you can specify the folder path in the batch script. This way, the batch script will only zip the files within that folder. Similarly, for unzipping, provide the path and file name of the zip file you want to extract.
I hope this tutorial helps you in creating batch scripts for zipping and unzipping files. If you have any questions or doubts, feel free to ask in the comments section below. Happy learning!
Batch script,
zip files, unzip files, zipping software, executable file, current directory, specific folder, WinZip, 7-Zip, magic command, path, zip file name, zipping process, unzipping process, batch script parameters, pop-up window, extracted files, folder path, tutorial.
#BatchScripting #ZipFiles #UnzipFiles #ZippingSoftware #Tutorial
#training
#howto
#batch
#education
#learning
#sqlforbeginners
#commandstutorial
#micosoft
#sqlcourse
=====To Get More useful video's, please follow below links ======
1.) To learn Learn SQL Server Concepts, visit below playlist
• Learn SQL Server Concepts
2.) To learn SQL Server Clauses and Keywords, please visit below playlist
• SQL SERVER CLAUSE/KEYWORDS
3.) For SSIS Tutorial, follow below playlist
• SQL SERVER Integration Services Tutor...
4.) For SSRS tutorial, follow below playlist
• SSRS Tutorials
5.) Python Tutorials, follow below playlist
• Python for Data Engineering
6.) Azure Data Factory Playlist
• Azure Data Factory Tutorial Playlist
7.) Power BI Concepts, Visit below playlist
• Power BI Concepts
8.) MS Excel and Google Sheets, follow below playlist
• MS Excel Concepts
=======My Favorite Study Materials you can check out =====
--Python Crash course :https://amzn.to/40gfFPr
--SQL Programming :https://amzn.to/40gqK2T
--MSBI Course : https://amzn.to/3Qxh94y
--Power BI Course :https://amzn.to/3QgimMl
=========Share, Support and Subscribe =========
Subscribe to my YouTube channel :
/ @learnwithmrajput
Share and like the Facebook Page :
/ 212104595551052
Thank you for Watching
By SQL
By SQL Training Session
Disclaimer : the above links may be amazon affiliate links, which means if you go through it,
I may get some commission but please bear in mind, it won't charge you a single penny
..so if you like the content, keep watching and support my channel.