Show Current Date And Time

Current Date And Time
   
 @echo off
:start
cls
echo %date% %time%
echo Press enter to REFRESH
pause > null
goto :start

 type the following code in notepad and save as date.bat or something.bat.

 At the time of execution of batch file one file is created at a same place where batch exist.

You can delete that null file it doesn't effect batch file.




    



   






Comments

  1. Please leave comments for suggestions and improvement.

    ReplyDelete
  2. If you remove the "cls" you can make a date matrix.

    ReplyDelete
  3. Yeah but it's difficult to see date and time.

    ReplyDelete

Post a Comment