Hi,
ich denke, "RootDir" ist das, was du suchst.
Aus der Help:
Zitat:
property RootDir: String;
Description:
The RootDir property determines where zipping will start for any filenames or wildcard entries in the FSpecArgs property.
Example:
ZipMaster1.RootDir := 'D:\Program Files\Start';
ZipMaster1.FSpecArgs.Add( 'Dir1\MyFile.html' );
ZipMaster1.FSpecArgs.Add( '*.h' );
ZipMaster1.Add;
This will add the file "D:\Program Files\Start\Dir1\MyFile.htm" as "Dir1\MyFile.html"
and all files "D:\Program Files\Start\*.h" as "*.h" to the ziparchive.
gr.
aayb