top of page

1: Copy the text below into notepad

2: Click Save As

3: Name the batch file to "NAME".bat

4: Replace "NAME" with watever name you want

Calculator batch file script

@echo off
title Batch Calculator by Tysentheawsome44
color 0a
:top
echo --------------------------------------------------------------
echo Welcome to Batch Calculator by Tysentheawsome44
echo --------------------------------------------------------------
echo.
set /p sum=
set /a ans=%sum%
echo.
echo = %ans%
echo --------------------------------------------------------------
pause
cls
echo Previous Answer: %ans%
goto top
pause
exit

 

 

 

 

 

 

 

 

 

bottom of page