Command Line

 


Use keywords to find the content you
are looking for within the WinOne site.

Command READLN

Function:

Read a line of text from a file. The line of text is stored in an environment variable called READLN.
Syntax:
READLN [drive:][path]filename [linenum]
filenameSpecifies the text file to read.
linenumSpecifies the line number to retrieve.
Note:
  • Line numbers start from 1.
  • When parameter linenum is not specified then the environment variable will be set to the total number of lines in the text file.
  • Example on using READLN.
  • Also see Batch Programs.

Copyright © 1995-2012 Better Computers Australia Pty Ltd, All Rights Reserved
WinOne is an Australian registered trademark
Visit our HTPC Store.