This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
ZipFolder
Hello World
Recursively compresses a local folder to a zip file.
app.ZipFolder(
source
,
destination
,
options
)
See Also:
ZipFile
,
UnzipFile
Example - Zip Folder
click to expand contents
function
OnStart
(
)
{
var
folder
=
"/sdcard/DroidScript/Hello World"
;
app
.
ZipFolder
(
folder
,
folder
+
".zip"
)
;
app
.
ShowPopup
(
"Compressed to "
+
folder
+
".zip"
)
;
}
Copy All
Run
String:
path to file or folder (
“/absolute/...”
or
“relative/...”
)
String:
“
spk
”
loading