Difference between revisions of "QuickLaunchIconByLink"

From SpybotWiki
Jump to: navigation, search
(New page: ==Usage== QuickLaunchIconByLink:[link contents],[(boolean)partial],<advanced file parameters> ===Examples=== ===Description=== ==See also== * Advanced file parameters ===Simi...)
 
(Usage: added var types)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{SbiCmdInfo
 +
|SYNTAX = QuickLaunchIconByLink
 +
|PENAME = SpybotSD.exe
 +
|PEVERSION = 1.3 or later
 +
|GROUP = Files
 +
|MINUPDATE = n/a
 +
|ADVFILEPARAMS = yes (third)
 +
|ADVREGPARAMS = no
 +
|ADVBUILDPARAMS = yes (third)
 +
|ADVSPECIALPARAMS = no
 +
}}{{Outdated SBI|File}}Searches the quick launch icons for one linking to the given filename.
  
 
==Usage==
 
==Usage==
  QuickLaunchIconByLink:[link contents],[(boolean)partial],<advanced file parameters>
+
  QuickLaunchIconByLink:<contents(string)>,<partial(boolean)>[,advanced file parameters]
  
 
===Examples===
 
===Examples===
   
+
  QuickLaunchIconByLink:"\spyware.exe","1"
 +
 
 +
This example searches for quick launch icons pointing to any ''spyware.exe''. This example searches for any desktop icon pointing to any ''spyware.exe''. Scanned are both ''.lnk'' and ''.url'' files.
  
 
===Description===
 
===Description===
 +
 +
# The first parameter is used to identify the link target filename, either complete or partial (see second parameter). {{AlgoPrefix}} {{PathTemplates}}
 +
# 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'll be allowed to use [[AlgoPrefix|Algo-Prefixes]], the recommended way.
 +
# 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 ''<$QUICKLAUNCH>'' or ''<$COMMONQUICKLAUNCH>'' [[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).
 +
 +
===Scan Results===
 +
* The link or URL file.
  
 
==See also==
 
==See also==
* [[Advanced file parameters]]
+
* [[AlgoPrefix]]
 +
* [[Advanced file parameters]]
 +
* [[Path templates]]
  
 
===Similar commands===
 
===Similar commands===
 +
* [[DesktopIcon]]
 +
* [[DesktopIconByLink]]
 +
* [[File]]
 +
* [[QuickLaunchIcon]]
 +
* [[StartmenuItem]]
 +
* [[StartmenuItemByLink]]
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
+
[[Category:SBI Commands supporting AlgoPrefix]]
[[Category:ToDo]]
 

Latest revision as of 16:31, 22 February 2008

QuickLaunchIconByLink
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
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 the quick launch icons for one linking to the given filename.

Usage

QuickLaunchIconByLink:<contents(string)>,<partial(boolean)>[,advanced file parameters]

Examples

QuickLaunchIconByLink:"\spyware.exe","1"

This example searches for quick launch icons pointing to any spyware.exe. This example searches for any desktop icon pointing to any spyware.exe. Scanned are both .lnk and .url files.

Description

  1. The first parameter is used to identify the link target filename, either complete or partial (see second parameter). AP PT
  2. 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'll be allowed to use Algo-Prefixes, the recommended way.
  3. 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 <$QUICKLAUNCH> 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 or URL file.

See also

Similar commands