Need a .bat file to execute a folder

Closed
subhanu Posts 1 Registration date Friday March 16, 2018 Status Member Last seen March 16, 2018 - Mar 16, 2018 at 10:38 AM
 Blocked Profile - Mar 16, 2018 at 04:48 PM
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


Related:

1 response

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.

0