Difference between revisions of "StartmenuItem"
(New page: ==Usage== StartmenuItem:[link name],[file name],<advanced file parameters> ===Examples=== ===Description=== ==See also== * Advanced file parameters ===Similar commands=== [[C...) |
|||
Line 1: | Line 1: | ||
− | + | Searches the start menu items for one linking to the given filename. | |
==Usage== | ==Usage== | ||
Line 5: | Line 5: | ||
===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. | ||
+ | # The name of the file the link needs to point to, [[AlgoPrefix|Algo-Prefixes]] and [[Path templates|path templates]] allowed. | ||
+ | # 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). | ||
==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 (current)]] | ||
− | [[Category: | + | [[Category:SBI Commands supporting AlgoPrefix]] |
Revision as of 09:48, 17 February 2008
Searches the start menu items for one linking to the given filename.
Usage
StartmenuItem:[link name],[file name],<advanced file parameters>
Examples
StartmenuItem:"Our malware online.lnk","<$PROGRAMFILES>\OurMalware\Malware Online.url"
Description
- The name of the link file to detect, no path involved, Algo-Prefixes allowed.
- The name of the file the link needs to point to, Algo-Prefixes and path templates allowed.
- 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).