The command processor CMD.EXE comes with a mini-calculator that can perform simple arithmetic on 32-bit signed integers:
e.g.
C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
C:\>set /a "31>>2"
7
For more information, type set /? at the command prompt.
Sunday, 3 March 2013
HACKS: Using Command Prompt as Calculator
17:51
No comments
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment