home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- REM Turn off IsWhat's screen displays...
- REM
- REM set iwshow=no
- REM Set the date and time variable at one call...
- iswhat dt
- REM Now display the two environment variables.
- echo Todays date is %cdate%
- echo The time is %ctime%
- echo.
- echo Now writing a "log line" to TEST_TD.LOG
- echo Ran TEST_TD.BAT on %cdate% at %ctime% ..... nifty! >> test_td.log
- REM
- REM If not needed, set them back to NUL, save environment space.
- REM Also set IWSHOW to NUL
- set cdate=
- set ctime=
- set iwshow=
-