>From: Anil Chawla <[log in to unmask]>
>Subject: [PCSOFT] Problem writing DOS Batch Files.
>Date: Tue, 7 Sep 1999 10:19:01 +1200
>
>Hi all,
>
>1) I wish to create a Dos batch file which displays "The current time in
>format
>"hh:mm" ".
>How do I achieve that? If I use "prompt$T", it displays the time in
>hh:mm:ss. I do not wish to display the seconds.
=====Use prompt$t$h$h$h. That displays the date and before you see it,
backspaces three times.
Be sure to use prompt$p$g to get the prompt back to normal.
=====Korny
>2) I wish to create a batch file, which displays files in a directory. If
>the list has more than 6 files, the info will scroll off the screen. I wish
>to control scrolling using "controlS/control Q". How do I incorporate this
>feature in the batch file?
=====Why not use dir/p. That will make the files display one screen at a
time.
=====Korny
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
PCSOFT mailing list is brought to you by:
The NOSPIN Group, Inc.
http://nospin.com - http://nospin.org
|