Need a .bat file to execute a folder [Closed]

Report
Posts
1
Registration date
Friday March 16, 2018
Status
Member
Last seen
March 16, 2018
-
 Blocked Profile -
Hello,
Requirement:
To zip a folder and it contents and to append a DD-MM-YYYY to it.

Source of zip file :"C:\Program Files\7-Zip\7z.exe"
Folder to zip:C:\CTM\CTMLOG

This CTMLOG file is having with some date , so it need to be zipped with DD-MM-YYYY

Once action done, it should be looked like CTMLOG<<DD-MM-YYYY>>.zip


Thanks for your help on this.

Subhanu


1 reply

7Zip is very versatile, and comes with a command line interface.

In case you need documentation, it can be found here:
https://www.7-zip.org/faq.html

Are you having issues with the date variables in DOS?

That can be tough. Let us know what the issue is ONE by ONE, and we can help.

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!