Difference between revisions of "StartmenuItem"

From SpybotWiki
Jump to: navigation, search
(New page: ==Usage== StartmenuItem:[link name],[file name],<advanced file parameters> ===Examples=== ===Description=== ==See also== * Advanced file parameters ===Similar commands=== [[C...)
 
m (Usage: fixed var names)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{SbiCmdInfo
 +
|SYNTAX = StartmenuItem
 +
|PENAME = SpybotSD.exe
 +
|PEVERSION = 1.3 or later
 +
|GROUP = Files
 +
|MINUPDATE = n/a
 +
|ADVFILEPARAMS = yes (third)
 +
|ADVREGPARAMS = no
 +
|ADVBUILDPARAMS = yes (third)
 +
|ADVSPECIALPARAMS = no
 +
}}Searches the start menu items for one linking to the given filename.
  
 
==Usage==
 
==Usage==
  StartmenuItem:[link name],[file name],<advanced file parameters>
+
  StartmenuItem:<linkname(string)>,<filename(string)>[,advanced file parameters]
  
 
===Examples===
 
===Examples===
   
+
  StartmenuItem:"Our malware online.lnk","<$PROGRAMFILES>\OurMalware\Malware Online.url"
  
 
===Description===
 
===Description===
 +
# The name of the link file to detect, no path involved, [[AlgoPrefix|Algo-Prefixes]] allowed. {{AlgoPrefix}}
 +
# The name of the file the link needs to point to, [[AlgoPrefix|Algo-Prefixes]] and [[Path templates|path templates]] allowed. {{AlgoPrefix}} {{PathTemplates}}
 +
# You should specify [[Advanced file parameters|advanced file parameters]] as the third parameter to limit the detection by real file properties, since file names only can be quite ambiguous.
 +
 +
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 file.
  
 
==See also==
 
==See also==
 +
* [[AlgoPrefix]]
 
* [[Advanced file parameters]]
 
* [[Advanced file parameters]]
 +
* [[Path templates]]
  
 
===Similar commands===
 
===Similar commands===
 +
* [[DesktopIcon]]
 +
* [[DesktopIconByLink]]
 +
* [[File]]
 +
* [[QuickLaunchIcon]]
 +
* [[QuickLaunchIconByLink]]
 +
* [[StartmenuItemByLink]]
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
+
[[Category:SBI Commands supporting AlgoPrefix]]
[[Category:ToDo]]
 

Latest revision as of 16:39, 22 February 2008

StartmenuItem
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

Searches the start menu items for one linking to the given filename.

Usage

StartmenuItem:<linkname(string)>,<filename(string)>[,advanced file parameters]

Examples

StartmenuItem:"Our malware online.lnk","<$PROGRAMFILES>\OurMalware\Malware Online.url" 

Description

  1. The name of the link file to detect, no path involved, Algo-Prefixes allowed. AP
  2. The name of the file the link needs to point to, Algo-Prefixes and path templates allowed. AP PT
  3. You should specify advanced file parameters as the third parameter to limit the detection by real file properties, since file names only can be quite ambiguous.

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 file.

See also

Similar commands