Answers for "how to use unzip.exe in cmd"

2

How to unzip a file using the cmd?

echo unzi started
powershell -Command "Expand-Archive -Path advanced-systemcare-setup.zip -DestinationPath $env:USERPROFILE\Desktop"
echo done
pause
Posted by: Guest on October-17-2020
0

how to use unzip.exe in cmd

You can use an external command line tool for unzipping your archive, see here(http://stahlworks.com/dev/index.php?tool=zipunzip) for example. Put it in your [Files] section:

[Files]
Source: "UNZIP.EXE"; DestDir: "{tmp}"; Flags: deleteafterinstall
Then call it in your [Run] section, like this:

[Run]
Filename: "{tmp}\UNZIP.EXE"; Parameters: "{tmp}\ZipFile.ZIP -d C:\TargetDir"
Posted by: Guest on December-07-2020

Browse Popular Code Answers by Language