Difference between revisions of "DesktopIconByLink"
(New page: {{Outdated SBI|File}} Searches all desktop icons for one linking to the given filename. ==Usage== DesktopIconByLink:<filename>,[(boolean)partial],<advanced parameters> ===Examples=== D...) |
|||
Line 15: | Line 15: | ||
# As usual, you should specify [[Advanced file parameters|advanced file parameters]] to avoid trouble resulting from ambiguous filenames. This can be done in the third parameter. | # As usual, you should specify [[Advanced file parameters|advanced file parameters]] to avoid trouble resulting from ambiguous filenames. This can be done in the third parameter. | ||
− | + | You might want to use [[File]] instead, using the ''<$DESKTOP>'' or ''<$COMMONDESKTOP>'' [[Path templates|path templates]], combined with the [[Path templates|path template]] ''<$DESKTOP>'' and the [[Advanced file parameters|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). | |
==See also== | ==See also== | ||
Line 27: | Line 27: | ||
* [[QuickLaunchIcon]] | * [[QuickLaunchIcon]] | ||
* [[QuickLaunchIconByLink]] | * [[QuickLaunchIconByLink]] | ||
+ | * [[StartmenuItem]] | ||
+ | * [[StartmenuItemByLink]] | ||
[[Category:SBI Commands]] | [[Category:SBI Commands]] | ||
[[Category:SBI Commands supporting AlgoPrefix]] | [[Category:SBI Commands supporting AlgoPrefix]] |
Revision as of 09:38, 17 February 2008
This SBI command is outdated and will probably not be supported in Spybot-S&D 2.0. As of yet, it is unclear whether an automated conversion path exists. Automated conversion paths may also be less sufficient than a manual upgrade. We recommend that you take a look at File for a possible alternative command. |
Searches all desktop icons for one linking to the given filename.
Usage
DesktopIconByLink:<filename>,[(boolean)partial],<advanced parameters>
Examples
DesktopIconByLink:"\spyware.exe","1"
This example searches for any desktop icon pointing to any spyware.exe.
Description
- The first parameter is used to identify the link target filename, either complete or partial (see second parameter).
- If you specify 11 as the second parameter (aka true), the first needs to be a part of the full filename only. Specifying 0 means you've specified a full filename (including path).
- As usual, you should specify advanced file parameters to avoid trouble resulting from ambiguous filenames. This can be done in the third parameter.
You might want to use File instead, using the <$DESKTOP> or <$COMMONDESKTOP> 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).