Case 1
If the selected item is a single folder or file, then the zip file should get the same name as the folder or file.
I am trying the following:
Code: Select all
"WinRAR" a "<curbase>" <items>What is the correct script to stop the zip file from being created with the folder structure?
Case 2
If multiple items are selected (i.e., multiple folders or multiple files or files+folders) the resulting zip file should get the name of the parent folder.
Can anyone give me the script for this?
Thanks in advance.
XYplorer Beta Club