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

From GAB Help
Jump to: navigation, search
 
Line 9: Line 9:
  
 
<code>
 
<code>
Function.Automation.ZIPPro.SetProperty("ARCHIVEFILE",0,"c:\path")
+
Function.Automation.ZIPPro.SetProperty("ARCHIVEFILE","c:\path")
  
 
Function.Automation.ZIPPro.Scan()
 
Function.Automation.ZIPPro.Scan()

Latest revision as of 13:40, 20 May 2020

Delete(FileNames)

Deletes one or more files from an existing archive.

Arguments

FileNames as String

File paths may be set to one or more filenames or directory names. Files may be specified with or without a path, and with or without wildcards. If a path is specified, files in the indicated directory will be affected; A pipe character ("|") should be used to separate multiple file or directory names. Alternatively, the method may be invoked repeatedly.

Examples

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

Function.Automation.ZIPPro.Scan()

Function.Automation.ZIPPro.INCLUDEFILES("c:\path\textFile.txt")

Function.Automation.ZIPPro.Delete("textFile.txt")