In Windows 10, I have a subfolder named Objects which contains following folders and files
I want to exclude everything in the Objects folder except test.txt file.
Currently I use the following command to exclude everything in Objects folder
"C:Program Files (x86)-Zipz.exe" a -tzip ..Backup.zip * -mx0 -xr!Objects
How do I modify the above script to achieve that?
Source: Windows Questions