Difference between revisions of "AutoStart"

From SpybotWiki
Jump to: navigation, search
(added info box)
Line 1: Line 1:
This command searches the Autostart group inside the start menu for links. Also searches desktop and start menu root.
+
{{SbiCmdInfo
 +
|SYNTAX = AutoStart
 +
|PENAME = SpybotSD.exe
 +
|PEVERSION = 1.3
 +
|GROUP = Files
 +
|MINUPDATE = n/a
 +
|ADVFILEPARAMS = yes (third)
 +
|ADVREGPARAMS = no
 +
|ADVBUILDPARAMS = yes (third)
 +
|ADVSPECIALPARAMS = no
 +
}}This command searches the Autostart group inside the start menu and on the desktop for links.
  
 
==Usage==
 
==Usage==

Revision as of 13:35, 22 February 2008

AutoStart
Group Files
Main Application Version 1.3
Required Update n/a
File Parameters yes (third)
Registry Parameters no
Build Parameters yes (third)
Special Parameters no

This command searches the Autostart group inside the start menu and on the desktop for links.

Usage

AutoStart:<link name or name of file linked to>,<directory>[,advanced file parameters>]

Examples

AutoStart:"Spyware.lnk","","filesize>=10240"
AutoStart:"Spyware.exe","","filesize>=10240"

The first example would identify a link Spyware.lnk, the second one any link that would point to a file named Spyware.exe; in both cases, the file linked to has to be larger than 10 KB in size (which is a quite silly advanced file parameter and only used for demonstration here).

Description

An easy way to identify links in the Startup Start menu group either by name of their link, or by the name of the file they link to.

  1. The first parameter identifies either the name of the linked file, or a substring of the file the link to be detected should point to. It's highly recommended to use include as much of the filename as you have, as filenames are often quite ambigious. If you try to identify by link name, you need to specify advanced file parameters, otherwise you won't get a match! Algo-Prefixes are supported only after 1.5.2 and then only for the filename that was linked to. AP PT
  2. The second parameter was intended to be used as a directoy flag similar to the ones in AutoRunByFilename and AutoRunByValue. It is not in use though!
  3. Use advanced file parameters, either for the link or file that is linked to, to avoid ambiguous situations.

As an alternative, you might want to look into using File along with the proper path template, e.g. <$STARTUP> or <$COMMONSTARTUP> (this command checks <$PROGRAMS>, <$STARTUP>, <$STARTMENU> and <$DESKTOP>, as well as their COMMON variants).

Scan Results

  • Either the link that was identified through the first parameter; or
  • The file a link pointed to if it was identified through the first parameter.

See also

Similar commands