For example, I have numbers 5, 3, 8, 2, 7, 4 and 9, which I get from operating like this. As
2 + 2 , 7-2 and 3 * 3 , etc ... they are stored in all the variables I want to know That's such a way that as a result, I can dynamically get one in batch files like "5382749" with the string "5382749", I have % v1 %% v2 %% v3% I can ... but after that I get an "invalid number. Numbers are limited to 32-bit precision." Error. What I am trying to do is to resize a certain number of digits on the command line. thank you in advanced.
Yes it is easy.
a small sample
set / a num1 = 2 + 2 set / a num2 = 7-2 set / a num3 = 4 set concat =% num1 %% num2 %% num3% Echo% concat%
Comments
Post a Comment