[windows2000] Re: Batch File Question

  • From: "Chris Berry" <compjma@xxxxxxxxxxx>
  • To: windows2000@xxxxxxxxxxxxx
  • Date: Mon, 22 Sep 2003 10:56:21 -0700

From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxxxxx>
In this scenario, though, why build a loop - you are not truly building
an array, anyways, as cmd / bat files don't truly support the concept.

If you are always merely going to hard-code the list, why bother looping

You will just end up with a script that appears needlessly complex for
the task it does. By all means, learn scripting concepts by writing
scripts, but I can't see the sense in making a script you are going to
use in production, needlessly complex.

Unless you're going to be using some feature that only batch files support (which is rare) why not use Perl instead, it's much more powerful.

Chris Berry
Systems Administrator
JM Associates

"You are not special. You are not a beautiful or unique snowflake. You are the same decaying organic matter as everything else." -- Tyler Durden

Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com

********************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link.


Other related posts: