-: 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. |
Blogs: WordPress Typepad Blogger B2evolution Scribefire Wikis: Wikipedia Wikia Wetpaint Pbwiki Wikispaces Twiki Citizen Journalism Portals: Digg Newsvine Livejournal Sharing Tools: Videos Sharing Tools: YouTube Metacafe Revver Viddler Blip.tv Picture Sharing Tools: FlickR Zooomr Smugmug Links Sharing Tools: del.icio.us Digg Yahoo! Buzz Propeller Technorati StumbleUpon Reddit Ma.gnolia Mixx.com Music Sharing Tools: Last.fm iLike Pandora Odeo Slideshows Sharing Tools: Slideshare Authorstream Myplick Products Feedbacks Sharing Tools: Crowdstorm