Difference between revisions of "StartmenuItemByLink"

From SpybotWiki
Jump to: navigation, search
(New page: ==Usage== StartmenuItemByLink:[link contents],[(boolean)partial],<advanced file parameters> ===Examples=== ===Description=== ==See also== * Advanced file parameters ===Similar...)
 
Line 1: Line 1:
 
+
Searches the start menus (user and global) for links calling a file of the given filename.
  
 
==Usage==
 
==Usage==
Line 5: Line 5:
  
 
===Examples===
 
===Examples===
   
+
  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.
  
 
===Description===
 
===Description===
 +
# Define the link target either complete, or partially, depending on the second parameter.
 +
# Set partial in the second parameter to 1 if you don’t know the complete filename, else use 0.
 +
# 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]], 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==
 
* [[Advanced file parameters]]
 
* [[Advanced file parameters]]
 +
* [[Path templates]]
  
 
===Similar commands===
 
===Similar commands===
 +
* [[DesktopIcon]]
 +
* [[DesktopIconByLink]]
 +
* [[QuickLaunchItem]]
 +
* [[QuickLaunchItemByLink]]
 +
* [[StartmenuItem]]
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands (current)]]
 
[[Category:SBI Commands (current)]]
[[Category:ToDo]]
 

Revision as of 18:39, 16 February 2008

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, adding both the link and the file to the results list.

Description

  1. Define the link target either complete, or partially, depending on the second parameter.
  2. Set partial in the second parameter to 1 if you don’t know the complete filename, else use 0.
  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, 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

Similar commands