AutoStart
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.
- 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
- 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!
- 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.