Anil
To pause the screen display for a listing of files etc. use the "More"
command preceded by the vertical bar (generally found as the upper case of
the backslash key). For example,
Dir c:\windows | More will pause after each screen is filled with the line
"-------- More -------------" and the user just has to hit any key to
continue with the next screen, etc., until the end of the listing is
reached. If you've seen enough, press the break key <Ctrl><C>.'
Larry Stewart
Ottawa, Canada
e-mail: [log in to unmask]
----- Original Message -----
From: Anil Chawla <[log in to unmask]>
Subject: [PCSOFT] HELP in DOS.
> Hi all,
>
> 1) I have to make a batch file that searches all files in a directory
> "c:\temp", thereafter it lists the file names & their purpose. If there
are
> more than 6 files in the directory, the info will naturally scroll off the
> screen. It is assumed that the user will be able to control scrolling
using
> "control + S / control +Q".
The PCSOFT web site always needs good submissions. If
you would like to contribute to the website, send any
software tech tips or software reviews to:
[log in to unmask]
|