in reply to Unable to zip the folders which are created on yesterday and the previous month folder for the same yesterdays date.
Why not make more subroutines? Like I showed few days ago?
That way you can separately test/debug the folder listing, from folder choosing, from folder zipping ?