Edit

Unzip (srcpath, destpath)

Result type:  none

Definition:  Expands a zip file. The destpath should be a directory into which the zip file contents wil be expanded. Existing files in the destination will be overwritten if they have the same name as files in the zip archive. Both paths must be "safe" paths (allowed for script access).

Availability:  MWScript scripts in MoneyWorks Gold v9.2.3 and later

See Also:

AddSafePath: UI to add a safe path to the preferences

BaseName: Filename from a path

CreateFolder: Create a new folder

File_Close: File functions for creating/reading/writing text files

File_GetLength: File length in bytes

File_GetMark: Get current read/write position

File_Move: Rename/move a file

File_Open: Open a file

File_Path: Get the full path of an open file

File_Read: Read text from current position

File_ReadLine: Read to end of line from current position

File_SetMark: Set Current read/write position

File_Write: Write text at current position

WriteToTempFile: Create a temp file containing the string