home *** CD-ROM | disk | FTP | other *** search
- DAT (Brian Morrissey)
-
- It is often useful to have the date printed out: for example, at the
- head of redirected files (using the > facility on DOS commands). The
- MS-DOS command DATE produces this, but also wants a new date - or at
- least [return] - to be keyed. Besides, that date is not in a 'nice'
- form. DAT is a short program that echoes the date in a decent form,
- and doesn't require any keystrokes in answer.
- This can be useful coded alone on a line in a batch file: it
- will echo the date to the screen; but it may be very useful echoed to
- the printer, or to a file.