It creates duplicates of the folders contained in a zip-file in app_scriptpath when unpacking not to app_scriptpath.
Creates empty folders + subfolders in app_scriptpath - as long as they contain data.
Empty folders- even if contained in the zip- won't get created at all - not at destination nor at app_scriptpath
I made some example and attached it- this is just the test-script, run it from the unpacked attachement which contains some example-source+destination-folder - it won't make a difference where they are located as long as destination is not app_scriptpath. Only in that case the misbehaviour of creating duplicate folders in app_scriptpath would not matter
Uses "Console", "ZLib"
String sZip_path = APP_ScriptPath & "some_subfolder\"
' some_subfolder means only NOT APP_SCRIPTPATH,
' can as well create some additional folder (as "c:\test\") where to unpack
ZLib_Extract(sZip_path & "some_zip_with_folders inside.zip", sZip_path)
' we dont unpack anything to App_Scriptpath here...
PrintL "check content of your current app_scriptpath now on disk: "
PrintL APP_ScriptPath
WaitKey
Bookmarks