Introduction: Basic Date & Time Batch File

Picture of Basic Date & Time Batch File

This instructable only requires the ability to copy/paste and to save as a batch file which I will show you. Remember this is only a simple batch program, and I did that so you can make your own variations and hopefully send me the code in the comments. Enough introduction; let's get to the program!

Step 1: The Actual Program

This is the real program. Please feel free to copy/paste it into your notepad or notepad++.

@echo off
:start

echo %date% %time%

cls

goto start

One variation is to change the color of the program. You can find out how to do it in a tutorial I will make after this one.

Step 2: Saving It

Picture of Saving It

After you are done copying it, you must save it.

Go to File

Save As

Save it in any folder you want or even desktop. I would prefer to make a separate folder for batch files.

Save it as Clock.bat (It seriously doesn't matter what you name it as long as it has .bat on the end as shown in the picture.

Step 3: THE END

This is the end of this tutorial. I hope you enjoyed and be sure to send your variations in the comments. Goodbye!

Comments

MsSweetSatisfaction (author)2014-12-13

Good information!

About This Instructable

1,199views

3favorites

License:

More by ArnavS:Basic Date & Time Batch File
Add instructable to: