Difference between revisions of "AutoStart"

From SpybotWiki
Jump to: navigation, search
(New page: 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...)
 
(See also)
Line 19: Line 19:
 
==See also==
 
==See also==
 
* [[Advanced file parameters]]
 
* [[Advanced file parameters]]
 +
* [[Path templates]]
  
 
===Similar commands===
 
===Similar commands===

Revision as of 14:16, 16 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.
  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