Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. okysPPanda

    batch file help

    WOW! I was really overcomplicating things. I fixed the problem. Below is the script that works- set /a abc=%1 :N1 copy 1.exe c:\winnt\%abc%.exe set /a abc=%abc% - 1 if %abc% LSS 1 goto end goto N1 :end echo works!
  2. okysPPanda

    batch file help

    in response to MiggyD: 1. the user input is in the form of the %1 variable. 2. No, my code has not worked, because I cant seem to get the syntax right. I believe that Dos is able to do simple arithmatic. What I need it to do is incredibly basic. all I want to be able to do is add 1 to a...
  3. okysPPanda

    batch file help

    What I am trying to do is create a sript that will take an input value in the form of a number, and then copy "1.exe" with the input number as the name. Then I want it to subtract one from the input number and repeat the process, creating many #.exe files, all identical except for the...

Part and Inventory Search

Back
Top