I have DotNetZip Library 22.214.171.124.
Here is my command line:
F:\DotNet\Tools\Zipit G:\Backup\DN20160306C-0.zip -d 'C:\Program Files (x86)\Common Files' -r+ 'C:\Program Files (x86)\Common Files*.*'
Zipit is exactly where specified, although I tried it without specifying the full path (F:\Dotnet\Tools is in the the Path environment variable). I am using -d to be sure I have the complete directory in the zipfile. I also tried it with both versions of -j.
I am using the VB.Net Shell command to do this. Once the shell is completed, there is no zip file on ANY of my hard disks. I also have the WinZip Command Line tool & can do the zip thru that, since a -rP switch allows me to keep the directory structure
in the zip file. But I am looking for a free zip to use with my application.
I tried using the Ionic.dll library, but am not sure how to get my files and keep the directory structure intact. I would prefer to use the dll, but if I could, but would have to know how to do it.