.. highlightlang:: us .. index:: zip_zip .. _zip_zip: zip_zip ======= .. us.tag zip_zip NOTREADYGERMAN New500 file-zip :ref:`zip_zip` kopiert Dateien in ein neues oder vorhandenes Zip-Archiv. .. note:: Dies ist eine veraltete Funktion. Verwenden Sie :ref:`p7z_zip`. .. function:: ret = zip_zip(ssRootDirectory, ssZipfile, svFiles) ret = zip_zip(ssRootDirectory, ssZipfile, svFiles, svOptions) .. us.return **Returnwert** *ret* ist der Zahlerwert 1 oder ein Error-Objekt (siehe :ref:`error_create`) falls ein Fehler aufgetreten ist (siehe Beispiel). .. us.params **Parameter** .. uparam:: ssRootDirectory *ssRootDirectory* ist der Name auf den sich die Pfade in der Zip-Datei beziehen sollen. .. uparam:: ssZipfile *ssZipfile* ist der vollständige Name der Zip-Datei. .. uparam:: svFiles *svFiles* enthält eine oder mehrere Pfade mit den Dateien, die in das Zip-Archiv geschrieben werden sollen. .. uparam:: svOptions *svOptions* ist ein Vektor von Strings mit folgenden Werten: .. list-table:: :header-rows: 0 * - "comment" oder "c" - Kommentar. Im nächsten Element des Vektors muss der Kommentar stehen. * - "recurse" oder "r" - Alle Unterverzeichnisse auch in das Archiv packen. * - "verbose" oder "v" - Ausführliche Ausgaben. * - "quiet" oder "q" - Keine Ausgaben. * - "delete" oder "d" - Entfernt Dateien aus dem Zip-Archiv. * - "level" oder "l" - Kompressions-Level (0-9) .. us.example **Beispiel** :: ret = zip_zip("c:/", "c:/test.zip", "c:/Programme/UniPlot", ["recurse", "quiet"]) if (type(ret) == "error") { MessageBoxError(ret.message); } .. us.comment **Kommentar** .. highlightlang:: none :: This is version 2005-Feb-10 of the Info-ZIP copyright and license. The definitive version of this document should be available at ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely. Copyright (c) 1990-2005 Info-ZIP. All rights reserved. For the purposes of this copyright and license, "Info-ZIP" is defined as the following set of individuals: Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois, Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth, Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz, David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko, Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs, Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda, Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren, Rich Wales, Mike White This software is provided "as is," without warranty of any kind, express or implied. In no event shall Info-ZIP or its contributors be held liable for any direct, indirect, incidental, special or consequential damages arising out of the use of or inability to use this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. Redistributions of source code must retain the above copyright notice, definition, disclaimer, and this list of conditions. 2. Redistributions in binary form (compiled executables) must reproduce the above copyright notice, definition, disclaimer, and this list of conditions in documentation and/or other materials provided with the distribution. The sole exception to this condition is redistribution of a standard UnZipSFX binary (including SFXWiz) as part of a self-extracting archive; that is permitted without inclusion of this license, as long as the normal SFX banner has not been removed from the binary or disabled. 3. Altered versions--including, but not limited to, ports to new operating systems, existing ports with new graphical interfaces, and dynamic, shared, or static library versions--must be plainly marked as such and must not be misrepresented as being the original source. Such altered versions also must not be misrepresented as being Info-ZIP releases--including, but not limited to, labeling of the altered versions with the names "Info-ZIP" (or any variation thereof, including, but not limited to, different capitalizations), "Pocket UnZip," "WiZ" or "MacZip" without the explicit permission of Info-ZIP. Such altered versions are further prohibited from misrepresentative use of the Zip-Bugs or Info-ZIP e-mail addresses or of the Info-ZIP URL(s). 4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip,", "UnZipSFX," "WiZ,", "Pocket UnZip," "Pocket Zip," and "MacZip" for its own source and binary releases. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Beschreibung * - 5.0.0 - Neu .. seealso:: :ref:`file-zip`, :ref:`zip_unzip` :sub:`id-871459`