Back up a directory to specific location as a zip file and rename it to current date

This script is used to backup a directory and all subdirectories to a specified location. Then it compress the results into a Zip (or 7Zip) file, and rename it to the current date (YYYY-MM-DD).

Note:

Provide the source path and the destination path.

For example:

sc =r’C:\Users\comodo\Desktop\dir’ #Provide the source folder path here
ds =r’C:\Users\comodo\desktop
ew’ #Provide the destination path were the folder need to be copied.

Run the script as system user.

Refer the below link for the script to backup a directory and all sub-directories to a specified location and zipping the directory and rename it to the current date.

https://scripts.comodo.com/frontend/web/topic/back-up-a-directory-to-a-specific-location-as-a-zip-file-and-rename-it-to-current-date

Thank you.