batch.scripts icon indicating copy to clipboard operation
batch.scripts copied to clipboard

Option -keep no is unreliable

Open JohanHeyvaert opened this issue 6 years ago • 2 comments

Hi, Thank you for this great script!

The option -keep no doesn't seem to be reliable though. Sometimes the source folder remains to exist; some of its contents was deleted, but not all if it. I've worked around this by performing an RD of the source folder aftwerwards.

Best regards, Johan

JohanHeyvaert avatar Jan 09 '19 12:01 JohanHeyvaert

@JohanHeyvaert - I suppose you have issues with -keep false when zipping a content (as you are able to use rd command)? I will check this during the weekend.

npocmaka avatar Jan 11 '19 11:01 npocmaka

That is correct. I use the following parameters: zipItem -source "!destPath!" -destination "!zipPath!" -keep no -force yes destPath is a variable containing a path to a folder. zipPath of course is a path to the destination zip file.

JohanHeyvaert avatar Jan 11 '19 12:01 JohanHeyvaert