Difference between revisions of "Directory"
(New page: ''Directory'' is the generic directly flagging command. ==Usage== Directory:[Description],[Directory name],<advanced directory parameters> ===Examples=== Directory:"<$DIR_PROG>","<$PRO...) |
m (fixed location of advanced parameters (was: second)) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | ''Directory'' is the generic directly flagging command. | + | {{SbiCmdInfo |
+ | |SYNTAX = Directory | ||
+ | |PENAME = SpybotSD.exe | ||
+ | |PEVERSION = 0.95 or later | ||
+ | |GROUP = Files | ||
+ | |MINUPDATE = n/a | ||
+ | |ADVFILEPARAMS = yes (third) | ||
+ | |ADVREGPARAMS = no | ||
+ | |ADVBUILDPARAMS = yes (third) | ||
+ | |ADVSPECIALPARAMS = [[filename]] | ||
+ | }}''Directory'' is the generic directly flagging command. | ||
==Usage== | ==Usage== | ||
− | Directory: | + | Directory:<description(string)>,<directory(string)>[,advanced directory parameters] |
===Examples=== | ===Examples=== | ||
Line 11: | Line 21: | ||
===Description=== | ===Description=== | ||
* The first parameter is a description; either as plaintext or, better, using a [[Description templates|description template]] to have it appear localized in the scanner GUI. | * The first parameter is a description; either as plaintext or, better, using a [[Description templates|description template]] to have it appear localized in the scanner GUI. | ||
− | * The second parameter defines the path to look in, using [[Path templates|path templates]] and [[AlgoPrefix|Algo-Prefixes]] if you want. | + | * The second parameter defines the path to look in, using [[Path templates|path templates]] and [[AlgoPrefix|Algo-Prefixes]] if you want, where the later only affect the final folder, not the full folder path. {{AlgoPrefix}} {{PathTemplates}} |
− | * Finally, the advanced directory parameters are very similar to [[Advanced file parameters|advanced file parameters]] - in fact, the first one has to be | + | * Finally, the advanced directory parameters are very similar to [[Advanced file parameters|advanced file parameters]] - in fact, the first one has to be [[filename]] to specify which file inside the folder should be checked for, but all further parameters are standard advanced file parameters. {{PathTemplates}} |
==See also== | ==See also== | ||
Line 24: | Line 34: | ||
[[Category:SBI Commands]] | [[Category:SBI Commands]] | ||
− | |||
[[Category:SBI Commands supporting AlgoPrefix]] | [[Category:SBI Commands supporting AlgoPrefix]] |
Latest revision as of 21:53, 28 June 2008
Directory | |
Group | Files |
Main Application | Version 0.95 or later |
Required Update | n/a |
File Parameters | yes (third) |
Registry Parameters | no |
Build Parameters | yes (third) |
Special Parameters | filename |
Directory is the generic directly flagging command.
Usage
Directory:<description(string)>,<directory(string)>[,advanced directory parameters]
Examples
Directory:"<$DIR_PROG>","<$PROGRAMFILES>\Spyware\","filename=malware.exe,size>=100"
This example would detect the folder C:\Program files\Spyware\, if this folder contains a file malware.exe of at least 100 byte size.
Description
- The first parameter is a description; either as plaintext or, better, using a description template to have it appear localized in the scanner GUI.
- The second parameter defines the path to look in, using path templates and Algo-Prefixes if you want, where the later only affect the final folder, not the full folder path. AP PT
- Finally, the advanced directory parameters are very similar to advanced file parameters - in fact, the first one has to be filename to specify which file inside the folder should be checked for, but all further parameters are standard advanced file parameters. PT