Copy Archive file name

Is it possible to change default file name of archives created by Copy Archive command? Using AS doesn't work as supposed (it changes file names within archive, not the archive name itself). And TO attribute doesn't allow to specify file name, only path.

The Copy command's CreateFolder arg can set the archive name when creating an archive.

Example: copy here archive=.7z createfolder="test"

Thanks, this is what I've been looking for, unfortunately help file didn't say that I should use createfolder parameter to specify file name.

It's documented as part of the CREATEFOLDER argument, but easy to overlook if you're looking at the ARCHIVE argument. I'll add a note so it's easier to find.