“Powershell Zip” Code-Antworten

Powershell Zip

# Create a zip file with the contents of C:\Stuff\
Compress-Archive -Path C:\Stuff -DestinationPath archive.zip

# Add more files to the zip file
# (Existing files in the zip file with the same name are replaced)
Compress-Archive -Path C:\OtherStuff\*.txt -Update -DestinationPath archive.zip

# Extract the zip file to C:\Destination\
Expand-Archive -Path archive.zip -DestinationPath C:\Destination
Muddy Moose

Kompress Dateien PowerShell

Compress-Archive -Path (Join-Path $filesDir "*.*") -DestinationPath (Join-Path $outDir "Files_Compressed.zip")
Eager Elephant

Ähnliche Antworten wie “Powershell Zip”

Fragen ähnlich wie “Powershell Zip”

Weitere verwandte Antworten zu “Powershell Zip” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen