Batch Files

Forum discussion tagged with Batch Files.
  1. eDragon

    Batch File Subtraction

    Hi, I'm trying to get into batch files, and I'm not sure how to simply subtract two numbers. The code is as follows: echo How old are you? set /p age=">>" echo What year is it? set /p year=">>" set /a birthyear=%age%-%year% echo So you were born in %birthyear%? pause However, when it shows...