ExtractToPath Property

Optional target directory for the self-extractor.

Syntax

ANSI (Cross Platform)
char* GetExtractToPath();
int SetExtractToPath(const char* lpszExtractToPath); Unicode (Windows) LPWSTR GetExtractToPath();
INT SetExtractToPath(LPCWSTR lpszExtractToPath);
@property (nonatomic,readwrite,assign,getter=extractToPath,setter=setExtractToPath:) NSString* extractToPath;
- (NSString*)extractToPath;
- (void)setExtractToPath:(NSString*)newExtractToPath;
#define PID_ZIPSFX_EXTRACTTOPATH 5

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_ZipSFX_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_ZipSFX_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

If set to empty string (default), the self-extractor will attempt to extract files into a subdirectory of the directory it is being executed from.

The name of the subdirectory is derived from the name of the self-extracting archive by removing its extension.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 C++ Edition - Version 20.0 [Build 8300]