Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to package and zip multiple files with different extensions on every quarter

$
0
0

How to Package and zip the following files under the "C:\Source\" when the MM – 1 = 03 or 06 or 09 or 11 or 12 (When MM = 01,  01 - 1 <> 0, but 12) and name the package “C:\Destination\MONTHLY_YYYYMM.zip

a.  Test_MONTHLY.txt
b.  All files beginning with the name Test_%.Fil  (WinZip file)
c.  Test_Report_YYYYMM.xls is System YYYYMM -1. Example: In May 2014 it will be Apr 2014 and on Jan 2015 it will be Dec 2015. 



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>