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

From GAB Help
Jump to: navigation, search
m
 
Line 1: Line 1:
This command will scan the compressed archive specified by ArchiveFile property.
+
==Scan()==
 +
Scans the compressed archive.  This method will scan the archive specified by ArchiveFile. The number of files and their names and sizes will be determined and written to the Files collection.
  
==Syntax==
+
===Examples===
Function.Automation.ZIPPro.Scan()
+
<code>Function.Automation.ZIPPro.Scan()</code>
  
==Arguments==
 
None
 
 
==Examples==
 
<nowiki>V.local.iFileCount.Declare(Long)
 
Function.Automation.ZIPPro.SetProperty("ARCHIVEFILE",0,"C:\users\abc\Desktop\TestZip.zip")
 
Function.Automation.ZIPPro.Scan()
 
Function.Automation.ZIPPro.ReadProperty("FileCount",0,V.local.iFileCount) </nowiki>
 
 
==Remarks==
 
* Calling the scan method frequently will generate a trappable error if the archive is corrupt.
 
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Function.Automation]]
 
[[Category:Function.Automation.ZIPPro]]
 
[[Category:Function.Automation.ZIPPro]]
[[Category:NeedsEdit]]
+
 
[[Category:Function.Automation]]
+
__FORCETOC__

Latest revision as of 13:42, 20 May 2020

Scan()

Scans the compressed archive. This method will scan the archive specified by ArchiveFile. The number of files and their names and sizes will be determined and written to the Files collection.

Examples

Function.Automation.ZIPPro.Scan()