Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / FileHelper Class / CopyDirectory Method
Directory to copy from
Directory to copy to; it will be created if it does not exist
Parent Directory to copy from
Parent Directory to copy to; it will be created if it does not exist
In This Topic
    CopyDirectory Method
    In This Topic
    Copies the contents of the source directory to the target
    Syntax
    public static void CopyDirectory( 
       string source,
       string target,
       string parentSource,
       string parentTarget
    )

    Parameters

    source
    Directory to copy from
    target
    Directory to copy to; it will be created if it does not exist
    parentSource
    Parent Directory to copy from
    parentTarget
    Parent Directory to copy to; it will be created if it does not exist
    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