Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: A good tutorial site for batch programming?  (Read 15654 times)

0 Members and 1 Guest are viewing this topic.

Whitebeard1

    Topic Starter


    Intermediate

    Thanked: 2
    • Computer: Specs
    • Experience: Familiar
    • OS: Mac OS
    A good tutorial site for batch programming?
    « on: February 22, 2014, 03:42:08 PM »
    Hey, I have been playing with batch programming for a year now. I learnt bits and pieces online, but I'm looking for a more complete batch tutorial. Any suggestions on a good batch programming tutorial?
    Thanks.
    Computers follow your orders, not your intentions.

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: A good tutorial site for batch programming?
    « Reply #1 on: February 22, 2014, 03:55:49 PM »
    Why?
    You have already spent time on it.
    Do you have any other skills?
    Maybe it is a form of  escape from reality?
    A personal fantasy?
      Like "I leaned how to fly like a bird with a BATCH file!"

    The real world needs people to solve solve real problems.
    Here is a serious article in a serious web site,; Forbes.
    http://www.forbes.com/sites/tarabrown/2012/01/10/learning-how-to-code-is-a-waste-of-time/
    It is not really a joke. You can get a better job taking care of horses instead of   programming computers.

    But to directly answer your question;  you have already found the best tutorial on the Internet. Computer Hope is the best place to learn  BATCH.
    Now some might say the presentation here lacks structure. Well, anybody who NEEDS structure should not sturdy BATCH.

    Salmon Trout

    • Guest
    Re: A good tutorial site for batch programming?
    « Reply #2 on: February 22, 2014, 04:22:00 PM »
    Computer Hope is the best place to learn  BATCH.

    I am sorry but I don't agree. I would go to the site linked below for a complete language reference and examples, although candour compels me to remark that if you have been playing around with it for "a year" and you still need (and don't know where or how to find!!!) tutorials, maybe this isn't for you?

    http://ss64.com/nt/

    Salmon Trout

    • Guest
    Re: A good tutorial site for batch programming?
    « Reply #3 on: February 22, 2014, 04:22:51 PM »
    "I leaned how to fly like a bird with a BATCH file!"

    I like this.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: A good tutorial site for batch programming?
    « Reply #4 on: February 22, 2014, 04:33:37 PM »
    The real world needs people to solve solve real problems.
    Here is a serious article in a serious web site,; Forbes.
    http://www.forbes.com/sites/tarabrown/2012/01/10/learning-how-to-code-is-a-waste-of-time/
    It is not really a joke. You can get a better job taking care of horses instead of   programming computers.
    You've managed to as usual, somehow read a completely different article and come to a different conclusion.

    Quote
    Most of the people that signed up don’t really know why they are learning to code, they just think it’s a good idea.

    Overall, though, I think This post covers that dumb codeacademy thing much better.

    Quote
    Should you learn to write code? No, I can't get behind that. You should be learning to write as little code as possible. Ideally none.
    I was trying to dereference Null Pointers before it was cool.

    Whitebeard1

      Topic Starter


      Intermediate

      Thanked: 2
      • Computer: Specs
      • Experience: Familiar
      • OS: Mac OS
      Re: A good tutorial site for batch programming?
      « Reply #5 on: February 23, 2014, 01:45:11 AM »
      Thanks for the answers.
      Why?
      You have already spent time on it.
      Do you have any other skills?
      Maybe it is a form of  escape from reality?
      A personal fantasy?
        Like "I leaned how to fly like a bird with a BATCH file!"

      The real world needs people to solve solve real problems.
      Here is a serious article in a serious web site,; Forbes.
      http://www.forbes.com/sites/tarabrown/2012/01/10/learning-how-to-code-is-a-waste-of-time/
      It is not really a joke. You can get a better job taking care of horses instead of   programming computers.

      But to directly answer your question;  you have already found the best tutorial on the Internet. Computer Hope is the best place to learn  BATCH.
      Now some might say the presentation here lacks structure. Well, anybody who NEEDS structure should not sturdy BATCH.

      Well, my reason for learning how to code is to kill time. And I agree it king of a waste of time, but that's probably why I'm doing it. I find it quite fun making my own little programs. 

      Computers follow your orders, not your intentions.

      Salmon Trout

      • Guest
      Re: A good tutorial site for batch programming?
      « Reply #6 on: February 23, 2014, 02:05:04 AM »
      I find it quite fun making my own little programs.

      Nothing is a waste of time if you enjoy it. Writing scripts is no more a waste of time than watchmaking or marquetry or stamp collecting or bird watching. If you are ready to do a bit of learning then good luck to you! Have a look at SS64 which I linked to above.


      camerongray



        Expert
      • Thanked: 306
        • Yes
        • Cameron Gray - The Random Rambings of a Computer Geek
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Mac OS
      Re: A good tutorial site for batch programming?
      « Reply #7 on: February 23, 2014, 06:29:27 AM »
      The one thing I would say here that if you are planning on learning a language in full is that batch is pretty limited in its potential, it's fine for automating tasks that you would normally run on the command line but it's not really practical for much more than that.  If you are wanting to learn to write small, fun scripts like little text based games.etc you may want to consider learning a more powerful scripting language like Python or Perl which have a lot more potential than Batch.

      Quote
      The real world needs people to solve solve real problems.
      Here is a serious article in a serious web site,; Forbes.
      http://www.forbes.com/sites/tarabrown/2012/01/10/learning-how-to-code-is-a-waste-of-time/
      It is not really a joke. You can get a better job taking care of horses instead of   programming computers.

      That's the most ridiculous thing I've read in a long time.  People learn to write software for all different reasons, maybe they find it interesting, maybe they enjoy writing software and potentially releasing it down the line, maybe it's a career path they want to follow.

      And the problems software developers solve aren't "real" problems?  I'd say they are, for example, software can be developed to automate many tasks in businesses saving loads of time and money.  I've even written small scripts doing day-to-day work to accomplish stuff that I could have done manually but would have taken a long time.

      Get a better job taking care of horses?  Any evidence to back this up?  What exactly constitutes a "better" job?  I'd much prefer doing my job developing software where I get to sit in a nice, temperature controlled office doing something that I find interesting vs taking care of horses.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: A good tutorial site for batch programming?
      « Reply #8 on: February 23, 2014, 09:00:24 AM »
      Well, if I never said anything there would have been less response.
      As to the need for horse care, it is there. Some problems in horse card can be resolved using a computer. It is a areal industry with real ppeople using methods both  old and new.
      Wikipedia article s can be useful, even if not perfect.
      http://en.wikipedia.org/wiki/Horse_care
      Quote
      Feeding
      Forages, such as hay, are required by all horses
      Main article: Equine nutrition

      A horse or pony needs approximately 1.5% to 2.5% of its body weight in food per day, depending on its age and level of work. This may include forages such as grass or hay and concentrates such as grain or commercially prepared pelleted feeds. Like people, some horses are "easy keepers" and prone to obesity, while others are "hard keepers" and need a great deal of food just to maintain a slim build. The average riding horse weighs roughly 1,000 pounds (450 kg), but the weight of a horse can be more closely estimated using a weight tape, which can be purchased from a feed store or tack shop.

      Best practice is to feed horses small quantities multiple times daily, unless they are on full-time pasture. Fresh, clean water should be provided free choice at all times, unless there is a specific reason to limit water intake for a short period of time.
      a sweet feed mix with added vitamins

      A horse that is not ridden daily or subjected to other stressors can maintain adequate nutrition on pasture or hay alone, with adequate water (10–12 gallons per day minimum) and free access to a salt block or loose salt. However, horses and ponies in regular work often need a ration of both forage and concentrates.

      Horses that are fed improperly may develop colic or laminitis, particularly if fed spoiled feed, subjected to excessive feed, or an abrupt change of feed. Young horses who are improperly fed may develop growth disorders due to an imbalance of nutrients. Young horses may also develop osteochondrosis if they are overfed. Regularly monitoring the horse's body condition score on a regular basis assists in helping the horse maintain proper weight.
      15 Careers with Horses
      Quote
      ...
      2. Equine Veterinary Technician

      Equine veterinary technicians provide assistance to veterinarians as they complete exams and surgical procedures. Vet techs must complete a two year degree and pass an exam to become licensed in the field. Equine techs can expect to earn a salary in the $31,000 to $35,000 range; those with veterinary technician specialist certification (VTS) can earn higher levels of compensation.
      ...

      For more, use key phrase 'Taking care of horses as a profession' on Google.
      There is nothing wrong with hard work.
      There is nothing wrong with pursuit of a hobby.
      Just t wanted to say there is more to life beyond  writing scripts.   ;D

      camerongray



        Expert
      • Thanked: 306
        • Yes
        • Cameron Gray - The Random Rambings of a Computer Geek
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Mac OS
      Re: A good tutorial site for batch programming?
      « Reply #9 on: February 23, 2014, 09:26:56 AM »
      What on earth does anything here have to do with horse care?  Have you ever thought that maybe horse care doesn't interest a lot of people?

      And why on earth are you now quoting an article about horse care in a thread about batch scripting?

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: A good tutorial site for batch programming?
      « Reply #10 on: February 23, 2014, 10:37:05 AM »
      camerongray,
      Some newbies get the idea that leaning about DOS is the road to a professional job.  I made the remark that one would do better craving for horses than  writing batch scripts for a livelihood.

      Many come here looking for some inside i into computer technology, hoping it may open doors of opportunity that could impact their life choices.

      I am on a one-mane crusade too tell new students that batch programming is not the foundation for a professional career in anything. So I said something specific. Like Horse Care vs. Batch programming.
      Horse care as a profession  Over a million hits on Google
      BATCH programming as a profession.  Over 20 million hits.

      The point is this. Horse care is out there.
      Limited? yes.
      Can you make BATCH programming a profession?
      Of course, but you
      - have to work
      ..like a horse.

      EDIT: This is a recent review of professional jobs with computers.
      http://computer-careers-review.toptenreviews.com/
      Can't find BATCH in the list.

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: A good tutorial site for batch programming?
      « Reply #11 on: February 23, 2014, 10:47:00 AM »
      Quote
      I am on a one-mane crusade

      The irony in this is just too much for me to take...
      " Anyone who goes to a psychiatrist should have his head examined. "

      foxidrive



        Specialist
      • Thanked: 268
      • Experience: Experienced
      • OS: Windows 8
      Re: A good tutorial site for batch programming?
      « Reply #12 on: February 23, 2014, 10:59:55 AM »
      Horse Care vs. Batch programming.
      Horse care as a profession  Over a million hits on Google
      BATCH programming as a profession.  Over 20 million hits.

      google search:

      horse profession 13 million hits
      batch profession 4 million hits

      You need to realise how unquoted terms are used in google searches.
      My terms above are not indicative of actual professions in those two disciplines either.

      As far as batch scripting goes - why not let the people play with batch scripts if they want to.  They will have some fun
       - because batch is easy to edit and launch - and could pick up some tricks or experience.


      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: A good tutorial site for batch programming?
      « Reply #13 on: February 23, 2014, 02:58:22 PM »
      foxidrive,
      Thank you for the correction.

      Alright. Here is a batch problem.
      I have four horses that total 5000 pounds.
      They eat 3 percent of their weight in one day.
      How much feed should I buy for one week?
      Can it bee done using a FOR loop?


      Salmon Trout

      • Guest
      Re: A good tutorial site for batch programming?
      « Reply #14 on: February 23, 2014, 03:18:14 PM »
      Can it bee done using a FOR loop?

      Not needed.

      @echo off
      set totalweight=5000
      set /a dailyfood=3*(%totalweight%/100)
      set /a weeklyfood=%dailyfood%*7
      echo Weekly feed required: %weeklyfood% lbs


      Weekly feed required: 1050 lbs