MAXScript Language Reference > 3ds Max Objects > Interfaces > Core Interfaces > Core Interfaces Documentation > M >

# Interface: msZip

Interfaces > Core Interfaces > msZip

| Core Interfaces - Quick Navigation

The msZip Core Interface provides methods to handle zip packages using MAXScript.

Methods:

    <boolean>msZip.fileInPackage <filename>fileName <&string>extractDir

    extractDir is In and Out parameter

This method will unload and run a zip package and return the extract_dir. Returns true if the zip package was run, otherwise false .

<filename>fileName: The file name of the ZIP script package.

<&string>extractDir: The directory in which the files were extracted.

    <boolean>msZip.unloadPackage <filename> fileName <&string>extractDir <&string>dropFile

    extractDir is In and Out parameter
    dropFile is In and Out parameter

This method will unload the package while ignoring any drop or run commands and return the extract_dir and any primary drop file. If the primary dropFile is a *.ds, compile it in context of the package and return the MacroEntry in dropScript. Returns true if the package was unloaded, otherwise false .

<filename>fileName: The file name of the ZIP script package.

<&string>extractDir: The directory in which the files were extracted.

<&string>dropFile: The primary drop file.

#### See Also

- Interface: dragAndDrop

- Zip-file Script Packages

- iDrop - drag and drop