ScriptSpot home

Forum topic · General Scripting

Opening Zipped files

By David · 2018-03-01

Description

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 (2)
Vojtech Cada

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.

Reply to Vojtech Cada
David

Awesome

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