Previous Topic: Environment Variables In ParametersNext Topic: Procedure


Redirection in the Item Procedure

An example, where redirection (>>) is used in the Item Procedure command file to get the computer name and LAN ID, as well as server's clock, written into the result file:

 @echo Computer name: %3>>%1 
 @echo Computer alias: %2>>%1 
 @echo Time: %4-%5-%6 %7: %8: %9>>%1 

The procedure parameters are $rf $cn $cl, where %1 is connected with $rf, %2 and %3 with $cn and %4 - %9 with $cl.