Difference between revisions of "Function.Automation.ZIPPro.ExtractAll"

From GAB Help
Jump to: navigation, search
m
 
Line 1: Line 1:
This function extracts all files from the archive. The file(s) will be extracted to the directory specified by ExtractToPath.
+
==ExtractAll()==
 +
Extracts all files from the compressed archive.
 +
 
 +
===Examples===
 +
<code>
 +
Function.Automation.ZIPPro.SetProperty("ARCHIVEFILE","c:\path")
  
==Syntax==
 
 
Function.Automation.ZIPPro.ExtractAll()
 
Function.Automation.ZIPPro.ExtractAll()
  
==Arguments==
+
</code>
None
 
  
==Examples==
 
<nowiki>Function.Automation.ZIPPro.Reset()
 
Function.Automation.ZIPPro.INCLUDEFILES(C:\users\abc\Documents\CreateZip\|C:\Users\abc\Documents\Test_ZIPPro.Docx)
 
Function.Automation.ZIPPro.SetProperty("ARCHIVEFILE",0,C:\users\abc\Documents\createzip.zip)
 
'Create the .Zip file
 
function.automation.ZIPPro.Compress()
 
'Excludes the files in the .zip file
 
Function.Automation.ZIPPro.SetProperty("EXCLUEDEDFILES",1," *.sql | *.txt ")
 
Function.Automation.ZIPPro.SetProperty("OVERWRITEFILES",1,"False")
 
'Extract Method
 
'Provide the path of the exisitng folder where the .zip file will be extracted
 
Function.Automation.ZIPPro.SetProperty("EXTRACTTOPATH",0,C:\users\abc\Documents\AllExtractedFiles)
 
'Extracts the Excluded Files also
 
function.automation.ZIPPro.EXTRACTALL()</nowiki>
 
 
==Remarks==
 
*  Invoking this method is equivalent to setting ExcludedFiles to the empty string and then invoking Extract with "*" as the argument.
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Function.Automation]]
 
[[Category:Function.Automation.ZIPPro]]
 
[[Category:Function.Automation.ZIPPro]]
[[Category:Function.Automation]]
+
 
 +
__FORCETOC__

Latest revision as of 13:40, 20 May 2020

ExtractAll()

Extracts all files from the compressed archive.

Examples

Function.Automation.ZIPPro.SetProperty("ARCHIVEFILE","c:\path")

Function.Automation.ZIPPro.ExtractAll()