scripting from cmd in xp
Joseph C. Lininger
jbahm at pcdesk.net
Fri Jun 25 16:44:45 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
The for command can help with this. While in the directory where the files
are located, do the following:
for %f in *.wav do oggenc -q %f
You have more forms of the command available to you if command extentions
are available. For more information, type:
help for
from the command prompt.
- ---
Joseph C. Lininger
jbahm at pcdesk.net
note, the following is used for automated processing. Please leave in tact
if quoting me in a reply.
Verification: 5eab38a77ac40416e075be8f50607ff7
- ----- Original Message -----
From: "Raul A. Gallegos" <raul at asmodean.net>
To: "Speakup Mailing-list" <speakup at braille.uwo.ca>
Sent: Thursday, June 24, 2004 10:14 PM
Subject: scripting from cmd in xp
> -----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-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
iQA/AwUBQNyOuienap9Jqj2wEQK7dwCfVD+WBtsj83rgUaO4f7D0zpaTZHcAnAkp
gyj6kHPspi+KzSlH3bUpRLb7
=BJy/
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list