I need to write a command line (PowerShell or DOS) utility that will archive all files created in between specified dates present in folder X and store them as a .zip
package in the same folder.
This utility will be scheduled into windows scheduler where arguments like to
and from
dates, store location
will be provided to it and it will run at specified duration for e.g. at 12:00 noon daily.
Is it possible to write it as a batch .bat
file? Are there any built-in functionalities inside windows to zip files or I would need to use a third party program like 7-Zip etc for it.
I am not looking for any direction, perhaps a tutorial or something. Both a DOS based and a PowerShell based solution would work for me.