Hi Sachin007,
I am Bhavik, a Microsoft user like you. Please note, I am not a Microsoft employee and don’t have direct access to your account, but I will do everything I can to help you with your queries. :)
In a Batch file, any variable you use needs to be enclosed in %%. Otherwise, Batch File will not know that it has to refer to this as a variable or plain text.
In your example, 'var' and 'var2' are two variables that receive values from user input and the 'result' is the third variable that stores the sum of 'var' and 'var2'.
To know more, refer to this webpage:
https://www.tutorialspoint.com/batch_script/bat...
Let me know in case of any further assistance is required, I will be glad to assist.
Disclaimer:
This reply contains non-Microsoft websites. The page(s) appear to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Thanks
Bhavik