Tutorial by Examples: archive

Compress-Archive -Path C:\Documents\* -Update -DestinationPath C:\Archives\Documents.zip this will add or replace all files Documents.zip with the new ones from C:\Documents
Expand-Archive -Path C:\Archives\Documents.zip -DestinationPath C:\Documents this will extract all files from Documents.zip into the folder C:\Documents
using System; using System.IO; using System.IO.Compression; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string zipPath = @"c:\example\start.zip"; string extractPath = @"c:\example\extract...

Page 2 of 2