----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

ForAll

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Types of
.Mount/\Commands

.CrystalClear | .ExactName | .ExitELn | .GetValue | .ifCondition | .ifELn | .IsPattern | .ListValue | .NetValue | .NowValue | .RedirRapids | .ReliableReporting | .RestoreValue | .SetELn | .ValueEcho

CrystalClear
Series

  AppendTempFile | Call | CheckTempFile | ClearTempFile | DeleteMe | DeleteTempFile | ForAll | ForExpand | HideComments | HideTempFile | MarkTempFile | ReadTempFile | Rem | ShowComments | ShowTempFile | SortTempFile | SwitchesList | TouchTempFile | Wait | WriteTempFile

.ForAll

Description

  1. Place an entire line of output in a FOR variable.
  2. Used to provide clarity within scripting code.
  3. Syntax is the same as the internal command FOR.

Syntax

%.ForAll%   %%A IN ('Command') DO ECHO:%%A

Parameters and Switches

none

   

Errorlevels and Output Variables

FOR
Variable

 

Value of
Variable

      Description of Result

%%A

 

One complete line of output from Command

      Output of Command is now available for further processing

Examples, Notes and Instructions

NT
2K
XP
K3
 

  • Output is displayed to STDOUT

Related .Mount/\Commands, #Constants, $Functions, :Procedures

Resource

  Short Description
.ForExpand   Dynamically expand the contents of a variable.

 

K

E

Y

Common Commands INTERNAL External /SWITCH Parameter Help text AddonTool
Mounted Commands .Mount/\Command CmdShorthand #Constant $FUNCTION :Procedure !GuardNote
Operating Systems NT/2K/XP/K3 NT Only NT/2K 2K Only 2K/XP XP Only XP/K3 K3 Only 2K/XP/K3

.Command
ShortHand
Series

  AppendTempFile | Call | CheckTempFile | ClearTempFile | DeleteMe | DeleteTempFile | ForAll | ForExpand | HideComments | HideTempFile | MarkTempFile | ReadTempFile | Rem | ShowComments | ShowTempFile | SortTempFile | SwitchesList | TouchTempFile | Wait | WriteTempFile
/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright © 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\