@echo off
setlocal
set "ZIPFOLDER=C:\Users\ajeet\Desktop\Sources_zips"
set "DESTFOLDER=%ZIPFOLDER%\Extracted"
if not exist "%DESTFOLDER%" (
mkdir "%DESTFOLDER%"
)
for %%I in ("%ZIPFOLDER%\*.zip") do (
"C:\Program Files\7-Zip\7z.exe" x "%%I" -o"%DESTFOLDER%\%%~nI" -y
)
echo All files extracted.
pause
Sunday, July 6, 2025
BAT file to extract all zipped files from a source folder to target folder
In a folder there are many zipped files at Source Path = C:\Users\ajeet\Desktop\Sources_zips. If you want to extract all zip files in one go then you can use BAT file.
Subscribe to:
Post Comments (Atom)
Hot Topics
-
By Ajeet Kumar RADAR CHART In radar chart, the categorical variable is displayed as spikes radiating from a central point. The values o...
-
The @page directive The @page directive in ASP.NET Core Razor Pages is crucial because it designates a Razor file as a Razor Page, allowin...
-
Objectives To provide detailed information about ListBox Types of ListBox Using ListBox in VBA applications Please read the post till end...
No comments:
Post a Comment