Change the date of Zip files

Hi,
I would like to make a button to change the date of x zip files based on the oldest/newest or pattern matching the files inside the archive.

 Example:
      MyArchiveFile.zip      2006-06-29
           mytextfile.txt       2005-05-04
           myimagefile.jpg   2004-03-27

Given the .zip file i want to go inside pick up the date of the oldest file, in this case 2004/03/27, go back and change the date of the .zip file.

Hope i make myself clear.

Regards
blau

I don't think there's a way to do this, except by finding/writing a program that Opus can run from a button which does the task. Sorry.

Searching for a while i found pkzipc, in the command line version, it has the archivedate option with oldest, newest options. I think i will manage to make a button with that.

Thanks anyway for letting me know this is not possible directly within dopus.

Regards
blau

Just someone else is interested i created a button with the following command:

"C:\Program Files\PKWARE\PKZIPC\pkzipc.exe" -header=hello -archivedate=oldest -silent {file}

Remember to change de 'Function' option to 'MS-DOS Batch Function'

This change the date of the given zip files to the date of the oldest file inside the archive.

@nudel
I'd like to integrate this into a multi command button, is there any dopus internal function to halt or pause the next commands until the current is finished?

Regards
blau

put sync: at the start of the lines which run external commands if you want any internal commands which follow to wait for them to complete.

thanks nudel

works as intended and btw i have now looked at the manual and found the other internal commands aswell. then again thank you for the info.