Difference between revisions of "AutoStart"

From SpybotWiki
Jump to: navigation, search
Line 1: Line 1:
{{Outdated SBI|File}}
 
 
This command searches the Autostart group inside the start menu for links. Also searches desktop and start menu root.
 
This command searches the Autostart group inside the start menu for links. Also searches desktop and start menu root.
  
Line 40: Line 39:
  
 
[[Category:SBI Commands]]
 
[[Category:SBI Commands]]
[[Category:SBI Commands (current)]]
 

Revision as of 09:40, 18 February 2008

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

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