1.

Solve : How to make a calculation in DOS??

Answer»

HI,

Again, I am trying to make a CALCULATION in the bat file.

I would like to get the last year as 2005 by substracting from this year 2006.
Can I do that?May I KNOW how to do ?
Neither %year%-1 nor %year-1% doesn't work.
Value of %year% is 2006.
Any idea pls?

Thanks,

you can look at the SET COMMAND here HTTP://www.ss64.com/nt/set.htmlI got it.
Thanks so much............



Quote

you can look at the set command here http://www.ss64.com/nt/set.html


Discussion

No Comment Found