I have a batch file to unzip a file, the path of the zip file and destination folder is hardcoded. I want to unzip different zip files to different folders. I don't want to edit the code all the time, Please some one help on this.
@echo off
setlocal
cd /d %~dp0
Call :UnZipFile "G:\tett\" "G:\test\test.zip"
pause
exit /b
This is my batch file, here I am giving the paths of the source and destination. I want to pass the source and destination as arguments to run this batch. Thanks in Advance!