Make A Bat File

edited November 2003 in Science & Tech
my teacher often assigigns us problems and has us to every third or forth, etc. and i was wondering if somoen could make me a bat file that lets you put in the starting number and ending number and i can tell it if i wanna count by threes or fours, etc.. thank you :D

Comments

  • kryystkryyst Ontario, Canada
    edited November 2003
    making bat files count is a pain in the ass. I'm not exactly sure what your assignment is but I have a couple comments.

    First figure it out and do it yourself it's a great way to learn things. Having one of us do it for you won't help you at all, especially if the teacher asks you to explain what you've done.

    Second why do a bat file, is this the requirement of the project? This could easily be done in a spreadsheet or even with simple math if your only problem is to figure out how many times 3 or 4 goes into a range of numbers.

    Some tips to your bat file.....Bat files can't do math. They can only count by 1's so you have to keep droping the result to a text file and pulling it back in. When the text file equals a certain number you can then drop it to another text file and set up a counter so you keep measuring in one test file and updating the counter in the other. Then compare against your total. Seriously and it's even more difficult then it sounds, huge, HUGE, HUGE pain in the ass.
  • edited November 2003
    the bat file isn'nt our assingment. its my math teacher who assingns us problems by having us do every third or fourth one. and i often do the wront ones so i thought i could make something that would help me
  • edited November 2003
    start>run>calc.exe

    Genius
  • kryystkryyst Ontario, Canada
    edited November 2003
    Spreadsheet then it's the easiest way for you to keep track of anything.
Sign In or Register to comment.