I want to compress a folder, for example: “C:Test\User” into a zip file. I dont want that the ZIP file contains only the files of that folder, but I have to be able to have the hole folder (the yellow one) in the ZIP content. Can anyone help me?
Replace the line for assigning the files variable in Compress.xaml with {"<target folder>"} where <target folder> is your directory. By putting this in brackets, you’ll create an array with one item, and the process will zip the folder itself.