Calculations on Command Prompt


Calculations on Command Prompt
 
 

The command processor CMD.EXE comes with a mini-calculator that can perform simple arithmetic on 32-bit signed integers:

C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
------------


For more information, type set /? at the command prompt.

0 comments:

The Pirated Intelligence # Great Cyber Security Resource to provide a Safe and Secure Internet

Powered By Blogger

Pages

Powered by Blogger.

Logo

Logo