scripting from cmd in xp

Steve Holmes steve at
Fri Jun 25 09:22:11 EDT 2004

Hash: SHA1

I honestly don't remember if the basic batch file command set includes
that or not.  I thought I'd seen it in the past but I did a lot with
4DOS and Take Command from JP Software and they include for loops for
sure.  If you want a free solution and current win environment doesn't
work, try cygwin, the unix environment that runs on windows platforms.

On Thu, Jun 24, 2004 at 10:14:57PM -0600, Raul A. Gallegos wrote:
> Hi.  I have a script which I'd like to run from a windows xp machine 
> from the cmd prompt.  Does batch have similar loop capability like bash?
> I'd like to do something like:
> for file in `dir /b *.wav` ;do
> oggenc -q 4 blah blah $file
> done
> I'd do it from Linux but right now my only Linux box is a p200 and it 
> would take forever to encode lots of stuff.
> -- 
> Raul A. Gallegos -
> All outgoing E-Mail is PGP-signed so that you know it really came from
> me and not a virus.  Public key at:
> _______________________________________________
> Speakup mailing list
> Speakup at

- -- 
HolmesGrown Solutions
The best solutions for the best price!
Version: GnuPG v1.2.3 (GNU/Linux)


More information about the Speakup mailing list