Difference between revisions of "DesktopIcon"
(New page: ==Usage== DesktopIcon:[link name],[file name],<advanced file parameters> ===Examples=== ===Description=== ==See also== * Advanced file parameters ===Similar commands=== * [[D...) |
(fixed usage) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{SbiCmdInfo | |
+ | |SYNTAX = DesktopIcon | ||
+ | |PENAME = SpybotSD.exe | ||
+ | |PEVERSION = 1.3 or later | ||
+ | |GROUP = Files | ||
+ | |MINUPDATE = n/a | ||
+ | |ADVFILEPARAMS = yes (third) | ||
+ | |ADVREGPARAMS = no | ||
+ | |ADVBUILDPARAMS = yes (third) | ||
+ | |ADVSPECIALPARAMS = no | ||
+ | }}Searches the desktop icons for one linking to the given filename. | ||
==Usage== | ==Usage== | ||
− | DesktopIcon: | + | DesktopIcon:<linkname(string)>,<filename(string)>[,advanced file parameters] |
===Examples=== | ===Examples=== | ||
− | + | DesktopIcon:"Our malware online.lnk","<$PROGRAMFILES>\OurMalware\Malware Online.url" | |
===Description=== | ===Description=== | ||
+ | # The name of the link file to detect, no path involved, [[AlgoPrefix|Algo-Prefixes]] allowed. {{AlgoPrefix}} | ||
+ | # The name of the file the link needs to point to, [[AlgoPrefix|Algo-Prefixes]] and [[Path templates|path templates]] allowed. {{AlgoPrefix}} {{PathTemplates}} | ||
+ | # You should specify [[Advanced file parameters|advanced file parameters]] as the third parameter to limit the detection by real file properties, since file names only can be quite ambiguous. | ||
+ | |||
+ | You might want to use File instead, using the <$DESKTOP> or <$COMMONQUICKLAUNCH> path templates, combined with the path template <$DESKTOP> and the advanced file parameter target[link], unless you depend on the link to find the actual file (in case it uses totally random names in totally random folders, for example). | ||
+ | |||
+ | ===Scan Results=== | ||
+ | * The link file. | ||
==See also== | ==See also== | ||
− | + | * [[AlgoPrefix]] | |
+ | * [[Advanced file parameters]] | ||
+ | * [[Path templates]] | ||
===Similar commands=== | ===Similar commands=== | ||
* [[DesktopIconByLink]] | * [[DesktopIconByLink]] | ||
− | * [[ | + | * [[File]] |
− | * [[ | + | * [[QuickLaunchIcon]] |
+ | * [[QuickLaunchIconByLink]] | ||
* [[StartmenuItem]] | * [[StartmenuItem]] | ||
* [[StartmenuItemByLink]] | * [[StartmenuItemByLink]] | ||
[[Category:SBI Commands]] | [[Category:SBI Commands]] | ||
− | [[Category:SBI Commands | + | [[Category:SBI Commands supporting AlgoPrefix]] |
− |
Latest revision as of 16:10, 22 February 2008
DesktopIcon | |
Group | Files |
Main Application | Version 1.3 or later |
Required Update | n/a |
File Parameters | yes (third) |
Registry Parameters | no |
Build Parameters | yes (third) |
Special Parameters | no |
Searches the desktop icons for one linking to the given filename.
Usage
DesktopIcon:<linkname(string)>,<filename(string)>[,advanced file parameters]
Examples
DesktopIcon:"Our malware online.lnk","<$PROGRAMFILES>\OurMalware\Malware Online.url"
Description
- The name of the link file to detect, no path involved, Algo-Prefixes allowed. AP
- The name of the file the link needs to point to, Algo-Prefixes and path templates allowed. AP PT
- You should specify advanced file parameters as the third parameter to limit the detection by real file properties, since file names only can be quite ambiguous.
You might want to use File instead, using the <$DESKTOP> or <$COMMONQUICKLAUNCH> path templates, combined with the path template <$DESKTOP> and the advanced file parameter target[link], unless you depend on the link to find the actual file (in case it uses totally random names in totally random folders, for example).
Scan Results
- The link file.