Command Prompt for Windows




Command READ

Function:

Read the next item from the global list. The item is stored in an environment variable called READ.

Syntax:

READ [index]
indexSpecifies the index of the next item to be returned.

Note:

When no parameters are specified for command READ then the next item in the list is returned in the READ environment variable.

The index into the global list start from 0.

The global list is created using command DATA.

Also see command DATA and Batch Files.