SOMETHING ON MIND
Neeraj-Kaundinya
Hi! Guyz.... checkout all the hacks and tricks and subscribe to my blog
Earn Money
EARNING MONEY MADE EASIER AT MGINGER.COM .

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


C:\>set /a "31>>2"
7


Note that we had to quote the shift operator since it would otherwise be misinterpreted as a "redirect stdout and append" operator.

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




0 comments:

Post a Comment

 
Note: This blog is solely a collection of information about HACKING.The blog owner is not responsible for the risky dones of the netzens.SO DO ALL AT YOUR OWN RISKS. BE CAREFUL BEFORE DOING ANY OF THE HACKS AND TRICKS READ IN THIS BLOG

website statistics

COPYRIGHT © NEERAJ KAUNDINYA. ALL RIGHTS RESERVED.