WHAT'S NEW?
Loading...

How to Create Calculator and Clock with Notepad

Hi Viewers, Today I will be showing you to create clock with notepad its simple and takes just a couple of lines of code , Actually this Trick Allows You To Get System Time Using Windows Command Line (CMD ) & We will be Making an Calculator too !

For Clock:-



Step 1:- Copy and paste this code into notepad

@echo off
title DOS-Based Clock
color 0a
cls
: CLOCK
cls
echo The current time is: %time%
goto CLOCK (91)

how to create clock with notepadStep 2:-  Save File as "Clock.bat" (with quotes)

      For Calculator:-


Step 1:-  Copy and paste this code into notepad

@echo off
title Batch Calculator by Techies
color 0c
:top
echo ————————————–
echo -Welcome to Batch Calculator by Techies Blogspot !-
echo ————————————–
echo Enter your Calculations
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo ————————————————————–
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit

Step 2:-  Save as "Calc.bat" (with quotes)

how to create calculator with notepad

                                                                                                                         

0 comments:

Post a Comment