Answers for "unzip with cmd"

2

How to unzip a file using the cmd?

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

cmd unzip windows

# Unzip files of the current directory calling the Powershell
powershell -Command "Get-ChildItem . -Filter *.zip | Expand-Archive -DestinationPath . -Force"
Posted by: Guest on September-07-2021
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language