Taxes45 December 20, 2010 at 18:43:46 Specs: Windows XP/Vista
I have a batch file that accepts user input and then writes it to a text file. What I need to know is how to do a calcultion with two of the user defined varibles to equal a new variable. Here is th e my code. @echo off cls set age= set /P age=set first number?: %=% echo %age% >>temp.txt cls set cost= set /P cost=set second number: %=% echo %cost% >>temp.txt
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.