AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Zipforge Optionen

Ein Thema von -Phantom- · begonnen am 18. Sep 2010 · letzter Beitrag vom 24. Sep 2010
 
Benutzerbild von Uwe Raabe
Uwe Raabe
Online

Registriert seit: 20. Jan 2006
Ort: Lübbecke
11.751 Beiträge
 
Delphi 12 Athens
 
#2

AW: Zipforge Optionen

  Alt 18. Sep 2010, 11:20
Aus der ZipForge Hilfe:

Zitat:
Recurse specifies if FindFirst, AddFiles, ExtractFiles, TestFiles, MoveFiles, UpdateFiles and DeleteFiles methods will search files recursively. This means that if some folder meets search conditions then all files and directories within this folder will be scanned. For example, if you set Recurse to true and call AddFiles('C:\*.*',faAnyFile) all files and folders located on disk C: will be added to the archive.

Set CreateDirs to True if you need to extract files with creating all neccessary folders.

FlushBuffers specifies whether the file buffers will be flushed after archive file modification and after extracting files from archive.

If ReplaceReadOnly set to True it means that all existing read only files will be replaced with the files being extracted by ExtractFiles.

SetAttributes determines whether attributes stored within the archive will be applied to files being extracted by ExtractFiles.

SearchAttr specifies the special files to include in addition to all normal files for FindFirst, AddFiles, ExtractFiles, TestFiles, MoveFiles, UpdateFiles and DeleteFiles methods variant without parameters. This option is similar to the Attr parameter in FindFirst function from SysUtils unit. You can set it to any combination of faReadOnly, faHidden, faSysFile, faVolumeID, faDirectory, faArchive constants defined in SysUtils or value faAnyFile meaning that any file meets search condition.
If you would like to process files without Archive attribute, you should specify $80 constant in addition to other attributes combination.
If NTFS files created by another user are to be added into archive, then it will be necessary to add $2000 constant to SearchAttr.
If compressed NTFS files are to be added into archive, then it will be necessary to add $800 constant to SearchAttr.

StorePath defines how path infromation will be stored for the file or directory within the archive file. This option applies to AddFiles, MoveFiles, UpdateFiles methods.

ShareMode specifies how the files being added to the archive will be opened for simulatenous access. Set this option before calling AddFiles, MoveFiles or UpdateFiles .

OverwriteMode specifies whether extracted files will overwrite existing files. Set this option before calling ExtractFiles, AddFiles, MoveFiles or UpdateFiles.

OEMFileNames specifies whether file names strored in archive are translated into OEM character set.
Uwe Raabe
Certified Delphi Master Developer
Embarcadero MVP
Blog: The Art of Delphi Programming
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:36 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz