[delphizip] Moving a directory doesn't work properly...

  • From: "David Obber" <d.obber@xxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Mon, 2 Aug 2004 09:58:04 +0200

Hi, this is my problem.

I want to zip the directory X.
The directory X is empty but contains the directory Y.
The directory Y contains some files.
If I zip and move directory X, ZipMaster create the zipfile correctly =
but doesn't move the directory X.

If the directory X contains also a file ZipMaster works correctly.

Here is the code:
        ZipMaster.FSpecArgs.Clear;
        ZipMaster.RootDir :=3D 'C:\X';
        ZipMaster.AddOptions:=3D [AddMove, AddDirNames, AddRecurseDirs];
        ZipMaster.ZipFilename:=3D 'x.zip';
        ZipMaster.FSpecArgs.add('Y\');
        ZipMaster.Add;


Anyone can help me, please?


David Obber
-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: