Opening Zipped files

Hello,

this is simple question, I have been trying to find out if it is possible to have Maxscript open and read or to extract data from a Zip file. We are getting CSV files that another program exports to a zip file, and we are seeing if we can just get Max to open and read, or to extract the data to remove a step in our process.

Thanks for you time.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Swordslayer's picture

 

You can use the 'unmaz' command to unzip the archive to a temporary location and then parse the files and clean up after. For anything more advanced, you'd have to use the .NET route.

dgood158's picture

Awesome

Thank you, that should help me out. I will give it a shot and see if it can do what I need.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.