I have a bunch objects in the scene and a folder with an files with a same names as objects, so i need to collect in array object names and tell maxscript to zip files with the same name.
please help me
p.s.: i know about setting object names in array by
namesArray = for s in selection collect s.name
By
Comments (3)
Comment policy
which utility you used for zipping?
with WinRAR for example...
...above batch file will made arhive "arhive_name.rar" from all JPG files in "C:\My Folder".
And if i've got your question right, and if WinRAR is fine for your needs, then...
Very nice example.
Can you show also example of archiving (similar to Maz()function) but using WINRAR or 7Zip. These two software has a far better compression then maxzip.
Thanks in advance.
Cheers and Happy New Year!
Happy New Year!
I have not 7Zip, as for WinRAR (I showed in above example) it's syntax is very closer to Maz() function: