Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.Sfx Namespace / XceedSfxPrefix Class / DefaultDestinationFolder Property


In This Topic
    DefaultDestinationFolder Property
    In This Topic
    Gets or sets the path where the self-extracting zip file extracts files to by default.
    Syntax
    'Declaration
     
    Public Property DefaultDestinationFolder As String
    'Usage
     
    Dim instance As XceedSfxPrefix
    Dim value As String
     
    instance.DefaultDestinationFolder = value
     
    value = instance.DefaultDestinationFolder
    public string DefaultDestinationFolder {get; set;}

    Property Value

    A string representing the path where the self-extracting zip file extracts files to by default. If System.String.Empty, the self-extracting zip file's current directory at run-time will be used.
    Remarks

    The following variables are available when specifying a value for the DefaultDestinationFolder property:

    <SfxFolder> The folder where the self-extracting zip file is being run from.
    <WindowsFolder> The location of the Windows folder.
    <SystemFolder> The location of the Windows System folder.
    <TempFolder> The location of the system's temporary folder.
    <RandomFolder> Random folder name that doesn't already exist. (the format of the random name is: _SFXxxx, where xxx is a random number)
    <ProgramFilesFolder> The location of the Program Files folder.
    <SystemDrive> The main system hard disk.

    The maximum length string allowed for this property is 255 characters

    This property is the equivalent of the SfxDefaultUnzipToFolder property of the ActiveX version of Xceed Zip.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also