Difference between revisions of "StartmenuItemByLink"

From SpybotWiki
Jump to: navigation, search
m (Usage: fixed var names)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Outdated SBI|File}}
+
{{SbiCmdInfo
Searches the start menus (user and global) for links calling a file of the given filename.
+
|SYNTAX = StartmenuItemByLink
 +
|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 start menus (user and global) for links calling a file of the given filename.
  
 
==Usage==
 
==Usage==
  StartmenuItemByLink:<link contents>,<(boolean)partial>[,advanced file parameters]
+
  StartmenuItemByLink:<contents(string)>,<partial(boolean)>[,advanced file parameters]
  
 
===Examples===
 
===Examples===
  Example: StartmenuItemByLink:"spyware.exe","1"
+
  StartmenuItemByLink:"spyware.exe","1"
  
 
This will search the start menu for a link pointing to the file ''spyware.exe''. This example searches for any desktop icon pointing to any ''spyware.exe''. Scanned are both ''.lnk'' and ''.url'' files.
 
This will search the start menu for a link pointing to the file ''spyware.exe''. This example searches for any desktop icon pointing to any ''spyware.exe''. Scanned are both ''.lnk'' and ''.url'' files.

Latest revision as of 16:39, 22 February 2008

StartmenuItemByLink
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 start menus (user and global) for links calling a file of the given filename.

Usage

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

Examples

StartmenuItemByLink:"spyware.exe","1"

This will search the start menu for a link pointing to the file spyware.exe. This example searches for any desktop icon pointing to any spyware.exe. Scanned are both .lnk and .url files.

Description

  1. Define the link target either complete, or partially, depending on the second parameter. AP PT
  2. Set partial in the second parameter to 1 if you don’t know the complete filename. Specifying 0 means you'll be allowed to use Algo-Prefixes, the recommended way.
  3. Use advanced file parameters to make sure the link points to the real malware file you're trying to locate.

You might want to use File instead, using the <$STARTMENU> or <$COMMONSTARTMENU> 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