{{works with|Windows 7| or later, haven't checked earlier versions}} set /p equation= set /a result=%equation% echo %result% pause