AutoStart

From SpybotWiki
Revision as of 14:17, 16 February 2008 by PepiMK (talk | contribs) (Similar commands)
Jump to: navigation, search

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.
  2. The second parameter was intended to be used as a directoy flag similar to the ones in AutoRunByFilename and AutoRunByValue.

As an alternative, you might want to look into using File along with the proper path template, e.g. <$STARTUP> or <$COMMONSTARTUP>.

See also

Similar commands