Difference between revisions of "DesktopIcon"

From SpybotWiki
Jump to: navigation, search
(fixed usage)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Searches the desktop icons for one linking to the given filename.
+
{{SbiCmdInfo
 +
|SYNTAX = DesktopIcon
 +
|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 desktop icons for one linking to the given filename.
  
 
==Usage==
 
==Usage==
  DesktopIcon:[link name],[file name],<advanced file parameters>
+
  DesktopIcon:<linkname(string)>,<filename(string)>[,advanced file parameters]
  
 
===Examples===
 
===Examples===
Line 8: Line 18:
  
 
===Description===
 
===Description===
# The name of the link file to detect, no path involved, [[AlgoPrefix|Algo-Prefixes]] allowed.
+
# 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.
+
# 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 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 <$DESKTOP> or <$COMMONQUICKLAUNCH> 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).
 
You might want to use File instead, using the <$DESKTOP> or <$COMMONQUICKLAUNCH> 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==
Line 28: Line 41:
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
 
 
[[Category:SBI Commands supporting AlgoPrefix]]
 
[[Category:SBI Commands supporting AlgoPrefix]]

Latest revision as of 16:10, 22 February 2008

DesktopIcon
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 desktop icons for one linking to the given filename.

Usage

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

Examples

DesktopIcon:"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 <$DESKTOP> or <$COMMONQUICKLAUNCH> 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