DefaultExtractDirectory Property

DotNetZip

Ionic Zip Library v1.9.1.6 DefaultExtractDirectory Property
ReferenceIonic.ZipSelfExtractorSaveOptionsDefaultExtractDirectory
The default extract directory the user will see when running the self-extracting archive.
Declaration Syntax
C# Visual Basic Visual C++
public string DefaultExtractDirectory { get; set; }
Public Property DefaultExtractDirectory As String
	Get
	Set
public:
property String^ DefaultExtractDirectory {
	String^ get ();
	void set (String^ value);
}
Remarks

Passing null (or Nothing in VB) here will cause the Self Extractor to use the the user's personal directory (Personal) for the default extract location.

This is only a default location. The actual extract location will be settable on the command line when the SFX is executed.

You can specify environment variables within this string, with %NAME%. The value of these variables will be expanded at the time the SFX is run. Example: %USERPROFILE%\Documents\unpack may expand at runtime to c:\users\melvin\Documents\unpack.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)