Welcome
Home
Polls
Forums
Mobile Tips And Tricks
Bios and Cmos
Hacking basics
Hacks And Cracks
VIRUS FIXING
Anti Hacking
DOS TRICKS AND HACKS
=> DOS EVENT MONITERING
=> DOS TRICKS AND SHORTCUTS
=> ALL DOS COMMANDS
=> CALCULATIONS IN DOS
Explorer hacks
Hacking Orkut
 

CALCULATIONS IN DOS

Calculation on command Prompt ! u knew dis???

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.
 

Today, there have been 70 visitors (90 hits) on this page!
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free