1.

Solve : add in batch?

Answer»

It's possible to make bat program wich will add the numbers to each other in loop??
like a calc "1+1=2 2+1=3 3+1=4" etc??
Welcome to the CH forums.

Please read this.

Assuming your OS is XP see the SET /A switch (enter set /? at the Command Prompt)

e.g.
set /a number=%number%+1 (for ADDITION)
set /a number=%number%*10 (for multiplication)

See the set /? display for other permitted arithmetic operations and their precedence.

Good luck

sry for minimal information
im using vista but it works exelent
thx dudeTrivia: When Xcopy is used to copy a particular file, that file is REWRITTEN and defragged simultaneous. Xcopy doesn't take LONG, but it sure TAKES a long time defragging this way. True or just kidding. Who would kid around about a very serious subject like Xcopy

LOL again and again....



Discussion

No Comment Found