FileToExecute Property
Optional file to execute (open) after the archive is extracted.
Syntax
ANSI (Cross Platform) char* GetFileToExecute();
int SetFileToExecute(const char* lpszFileToExecute); Unicode (Windows) LPWSTR GetFileToExecute();
INT SetFileToExecute(LPCWSTR lpszFileToExecute);
@property (nonatomic,readwrite,assign,getter=fileToExecute,setter=setFileToExecute:) NSString* fileToExecute; - (NSString*)fileToExecute; - (void)setFileToExecute:(NSString*)newFileToExecute;
#define PID_SDA_FILETOEXECUTE 6 IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_SDA_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_SDA_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"."
Remarks
This property specifies an executable file which will be run after the archive has completed decompressing. This must be a relative path to a file located within ExtractToPath. If this property is set to ".", the folder to which the archive has been decompressed will open in Windows Explorer. If this property is set to "" (empty string), the extractor will close and take no action.
Data Type
String