Difference between revisions of "StartmenuItemByLink"

From SpybotWiki
Jump to: navigation, search
(Description)
Line 8: Line 8:
 
  Example: StartmenuItemByLink:"spyware.exe","1"
 
  Example: StartmenuItemByLink:"spyware.exe","1"
  
This will search the start menu for a link pointing to the file ''spyware.exe'', adding both the link and the file to the results list.
+
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===
 
===Description===
 
# Define the link target either complete, or partially, depending on the second parameter. {{AlgoPrefix}} {{PathTemplates}}
 
# Define the link target either complete, or partially, depending on the second parameter. {{AlgoPrefix}} {{PathTemplates}}
# Set partial in the second parameter to 1 if you don’t know the complete filename, else use 0.
+
# 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 [[AlgoPrefix|Algo-Prefixes]], the recommended way.
 
# Use [[Advanced file parameters|advanced file parameters]] to make sure the link points to the real malware file you're trying to locate.
 
# Use [[Advanced file parameters|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|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).
 
You might want to use [[File]] instead, using the ''<$STARTMENU>'' or ''<$COMMONSTARTMENU>'' [[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==

Revision as of 10:34, 18 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 the start menus (user and global) for links calling a file of the given filename.

Usage

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

Examples

Example: 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