Difference between revisions of "NoOp"

From SpybotWiki
Jump to: navigation, search
(added info box)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''NoOp'' is the short form of ''No Operation'' and is a simple command that does not anything to the results list, but can assist as a blind helper for some operations, since it understands [[Advanced file parameters|advanced file parameters]].
+
{{SbiCmdInfo
 +
|SYNTAX = NoOp
 +
|PENAME = SpybotSD.exe
 +
|PEVERSION = 1.5 or later
 +
|GROUP = Files
 +
|MINUPDATE = n/a
 +
|ADVFILEPARAMS = yes (first)
 +
|ADVREGPARAMS = no
 +
|ADVBUILDPARAMS = yes (first)
 +
|ADVSPECIALPARAMS = [[skipcount]]
 +
}}''NoOp'' is the short form of ''No Operation'' and is a simple command that does not anything to the results list, but can assist as a blind helper for some operations.
  
 
==Usage==
 
==Usage==
  NoOp:[advanced file parameters],<any number of optional parameters here>
+
  NoOp:<advanced file parameters>[,any number of optional useless fun parameters here]
  
 
===Examples===
 
===Examples===
Line 9: Line 19:
  
 
The first example checks the environment variable ''greeting'' whether it is set to ''HelloWorld'', and if so, lets the scanner skip the following 10 lines during On-Demand scans. The second example operates similarly, but tests only for the existance of said environment variable.
 
The first example checks the environment variable ''greeting'' whether it is set to ''HelloWorld'', and if so, lets the scanner skip the following 10 lines during On-Demand scans. The second example operates similarly, but tests only for the existance of said environment variable.
 +
 +
===Description===
 +
* The first parameter is the only one actually used. You can specify a file name here using the [[filename]] advanced parameter, which will always be parsed first, and on which [[Advanced file parameters|advanced file parameters]] are later executed (without [[filename]], they'll be run on an empty filename). After 1.5.2, [[filename]] also supports [[Path templates|path templates]]. {{PathTemplates}}
 +
 +
===Scan Results===
 +
None, since this is a nearly passive command used only for flow control.
  
 
==See also==
 
==See also==
 
* [[Advanced file parameters]]
 
* [[Advanced file parameters]]
 
* [[Description templates]]
 
* [[Description templates]]
 +
* [[Path templates]]
  
 
===Similar commands===
 
===Similar commands===

Latest revision as of 14:00, 22 February 2008

NoOp
Group Files
Main Application Version 1.5 or later
Required Update n/a
File Parameters yes (first)
Registry Parameters no
Build Parameters yes (first)
Special Parameters skipcount

NoOp is the short form of No Operation and is a simple command that does not anything to the results list, but can assist as a blind helper for some operations.

Usage

NoOp:<advanced file parameters>[,any number of optional useless fun parameters here]

Examples

NoOp:"chkenv=greeting:HelloWorld,skipcount=10"
NoOp:"isenv=greeting,skipcount=10"

The first example checks the environment variable greeting whether it is set to HelloWorld, and if so, lets the scanner skip the following 10 lines during On-Demand scans. The second example operates similarly, but tests only for the existance of said environment variable.

Description

  • The first parameter is the only one actually used. You can specify a file name here using the filename advanced parameter, which will always be parsed first, and on which advanced file parameters are later executed (without filename, they'll be run on an empty filename). After 1.5.2, filename also supports path templates. PT

Scan Results

None, since this is a nearly passive command used only for flow control.

See also

Similar commands

None, this is a blind thing.