scripting from cmd in xp

Raul A. Gallegos raul at asmodean.net
Fri Jun 25 00:14:57 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA26bBas0vKmIuNMcRAvcuAJ9S6ssTFdGS31Nb+8Q03pxcoNdbOgCfbjuM
DZuCskeo14p81xFBa7wsO5g=
=JBXm
-----END PGP SIGNATURE-----




More information about the Speakup mailing list