Sunday, 15 January 2012

command line - Add all numbers in a text file under windows -



command line - Add all numbers in a text file under windows -

i have multiline text file want add together numbers , output result sec file.

ex: in file.txt

29218 76 48 44 41

sum = 29218 + 76 + 48 + 44 + 41 = 29427

export file2.txt

29427

if batch script after, maybe next help out:

batch file sum numbers text files , write total value text file

windows command-line cmd

No comments:

Post a Comment