I am trying to automatically create an archive has a timestamp, file or folder name, and some additional data (my data). I seem to understand how to get that. I am having one problem with it. An example of what I want to end up with is this
1511011329_filename_myData.rar
I was using this
@set names={file|Name|{file$|noext}}
@set name={dlgstringS|Enter Archive Name}
Copy HERE ARCHIVE=.rar CREATEFOLDER="{date|yyMMdd}{time|HHmm}_{$names}_{$name}"
and I thought it was working perfect, but it is missing one thing. When I select a combination of folders and files it does exactly what I want, it takes the first selected item in the bunch and uses its name and makes the archive. So when the archive extracts it produces the contents that were selected, all folder and files. If I do the same to one file it does that also (exactly what I want). However if I do the operation on one selected folder, it removes the outer folder and just produces the contents of the folder. I do not want this. I want exactly what I selected. Is there any way to fix this? Thanks
Instead of ARCHIVE=.rar use ARCHIVE=.rar,keepfolder
1 Like
Every time you and the great members of this community offer help, I am able to use the lingo you supply to search the manual and learn some much more. Terrific! It worked like a charm! Thanks
1 Like