[delphizip] Re: One question

  • From: Paul Tiede <PaulTiede@xxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Fri, 08 Nov 2002 21:41:53 +0100

Roger Aelbrecht wrote:

>----- Original Message -----
>From: "Paul Tiede" <PaulTiede@xxxxxx>
>To: <delphizip@xxxxxxxxxxxxx>
>Sent: Friday, November 08, 2002 8:20 PM
>Subject: [delphizip] Re: One question
>
>
>  
>
>>Roger Aelbrecht wrote:
>>
>>    
>>
>>>----- Original Message -----
>>>From: "Paul Tiede" <PaulTiede@xxxxxx>
>>>To: <delphizip@xxxxxxxxxxxxx>
>>>Sent: Friday, November 08, 2002 6:10 PM
>>>Subject: [delphizip] One question
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>Hello.
>>>>
>>>>I found two bugs in the ZipMsgDE.rc after I tried to compile it because
>>>>the ZipMsgDE.res is missing.
>>>>The string SF_StringToLong is twice in the ZipMsgDE.rc, the first one
>>>>has to be deleted and DS_NoDiskSpan has to be terminated.
>>>>
>>>>
>>>>        
>>>>
>>>Could you tell us what your are using TZipBuilder or TZipMaster, we both
>>>use the same resources but the translated files are not always exactly
>>>      
>>>
>the
>  
>
>>>same
>>>
>>>
>>>      
>>>
>>Sorry, the TZipMaster.
>>    
>>
>
>Then Russell should take care of it, I know I received a personal mail form
>a Mr. Winfried Posur who has send me a corrected ZipMsgDE.rc
>
>
>
>  
>
>>>>And after all the question:
>>>>Should not the AddRecurseDirs option also add the subdirs name for each
>>>>the file in the subdir and not only the filenames ?
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>The dir names are controlled by the option AddDirNames
>>>AddRecurseDirs only tells the component also to include the files.
>>>
>>>
>>>
>>>      
>>>
>>But AddDirNames store the whole path. What I mean is to store only the
>>subdirs name.
>>For example:
>>If you have two files (file1 and file2) and a subdir (subdir1) in the
>>directory which you want to zip. The subdir contains also two files
>>(file3 and file4).
>>So if you store the files with AddRecureDirs, it should be stored:
>>file1, file2, subdir1\file3 and subdir1\file4 (with the subdirs name).
>>But now there are only the filenames (without the subdirs name) which
>>are being stored.
>>
>>    
>>
>>>      
>>>
>>>>Paul
>>>>
>>>>        
>>>>
>To obtain what you want you should use the RootDir property
>set it to your main directory
>in AddSpecArgs enter only '*.*' twith AddrecusreDirs and AddDirNames
>
>Now only the file names and the names of the subdirs will be stored
>the part in the Root Dir is not included in the filenames
>
>HTH
>
>Roger Aelbrecht
>http://web.wanadoo.be/driehoeksw
>
>
>
>  
>
Ahhh, now it works like I wanted. Thanks.


Other related posts: