scripting from cmd in xp

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


-----BEGIN PGP SIGNED MESSAGE-----
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 - http://www.asmodean.net
> All outgoing E-Mail is PGP-signed so that you know it really came from
> me and not a virus.  Public key at: http://asmodean.net/raul-pgp.asc
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 

- -- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFA3CcBWSjv55S0LfERAq1kAKCSk+PgadXZIkoFkXGXMAeWdTKAqQCfdhVM
oYK3NRGgs6+N6XmeEaAt9TI=
=S17P
-----END PGP SIGNATURE-----




More information about the Speakup mailing list