Difference between revisions of "DownloadDir"

From SpybotWiki
Jump to: navigation, search
(Usage: added var types)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Adds a folder to the list of folders scanned during DownloadFile scanning.
+
{{SbiCmdInfo
 +
|SYNTAX = DownloadDir
 +
|PENAME = SpybotSD.exe
 +
|PEVERSION = 1.5 or later
 +
|GROUP = Files
 +
|MINUPDATE = n/a
 +
|ADVFILEPARAMS = yes (third)
 +
|ADVREGPARAMS = no
 +
|ADVBUILDPARAMS = yes (third)
 +
|ADVSPECIALPARAMS = [[filename]]
 +
}}Adds a folder to the list of folders scanned during DownloadFile scanning.
  
 
==Usage==
 
==Usage==
  DownloadDir:[folder],[recursive],<advanced file parameters>
+
  DownloadDir:<folder(string)>,<recursive(boolean)>[,advanced file parameters]
  
 
===Examples===
 
===Examples===
Line 10: Line 20:
 
This command adds a folder to the list of folders scanned at the end of the regular scan for any files defines by the [[DownloadFile]] command.
 
This command adds a folder to the list of folders scanned at the end of the regular scan for any files defines by the [[DownloadFile]] command.
  
# Add a fully qualified file path including a trailing backslash as the first parameter.
+
# Add a fully qualified file path including a trailing backslash as the first parameter. {{PathTemplates}}
 
# Set the second parameter to ''1'' to recurse this folder, ''0'' otherwise.
 
# Set the second parameter to ''1'' to recurse this folder, ''0'' otherwise.
 +
# You can specify [[Advanced file parameters|advanced file parameters]] to add these only on special conditions. In this case, you have to add a [[filename]] parameter (which currently can be anything, the advanced file parameters will be used on all files), otherwise the command will be ignored.
 +
 +
===Scan Results===
 +
None, this is a passive command affecting the [[DownloadFile]] scan at the end of the full scan.
  
 
==See also==
 
==See also==
 
* [[Advanced file parameters]]
 
* [[Advanced file parameters]]
 +
* [[Path templates]]
 
   
 
   
 
===Similar commands===
 
===Similar commands===
Line 20: Line 35:
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
 

Latest revision as of 16:12, 22 February 2008

DownloadDir
Group Files
Main Application Version 1.5 or later
Required Update n/a
File Parameters yes (third)
Registry Parameters no
Build Parameters yes (third)
Special Parameters filename

Adds a folder to the list of folders scanned during DownloadFile scanning.

Usage

DownloadDir:<folder(string)>,<recursive(boolean)>[,advanced file parameters]

Examples

DownloadDir:"C:\Test\","1"

Description

This command adds a folder to the list of folders scanned at the end of the regular scan for any files defines by the DownloadFile command.

  1. Add a fully qualified file path including a trailing backslash as the first parameter. PT
  2. Set the second parameter to 1 to recurse this folder, 0 otherwise.
  3. You can specify advanced file parameters to add these only on special conditions. In this case, you have to add a filename parameter (which currently can be anything, the advanced file parameters will be used on all files), otherwise the command will be ignored.

Scan Results

None, this is a passive command affecting the DownloadFile scan at the end of the full scan.

See also

Similar commands