jcnews schrieb:
> I am interested in learning how to write BAT files for Windows XP (I hope I
> am in the right place).
>
You're welcome.
> Can anyone direct me to a website that can provide tutorials on how to
> learn?
>
The only good tutorial I know of is for command.com, but the basics are
the same. See first of my appended links.
> I want to write a program that:
>
> 1) opens a program #1 and enters some data
> 2) waits for program #1 to finish its work, then closes it
> 3) opens a program #2 and enters some data
> 4) waits for program #2 to finish its work, then closes it
> 5) etc...
>
If the programs aren't command line one's prepared to read from
StdIn (so I/O is redirectable) you are probaply better of using
windows scripting host with vbscript oder jscript.
DOS/w9x/ME
http://www.allenware.com/icsw/icswidx.htm
http://gearbox.maem.umr.edu/~batch/batchtoc.htm
http://en.wikipedia.org/wiki/Microso...ch_programming
http://www.computerhope.com/batch.htm
http://home7.inet.tele.dk/batfiles/
http://www.ericphelps.com/batch/
http://www.uwasa.fi/~ts/http/http2.html#batch
http://www.merlyn.demon.co.uk/
http://www.chebucto.ns.ca/~ak621/DOS/
http://www.tnd.com/camosun/elex130/dosbatchtutor1.html
http://gatsby.tafe.tas.edu.au/batch/
NT/W2K/XP------------------------------
http://www.microsoft.com/resources/d...-us/batch.mspx
http://www.ss64.com/nt/index.html
http://www.commandline.co.uk/lib/treeview/index.php
http://www.uwasa.fi/~ts/http/http2.html#cmdscript
http://home.comcast.net/~stewartb/cmdprompt.html
http://www.seanet.com/~shardy/ntscript.html
http://www.robvanderwoude.com/
http://www.jsiinc.com/reghack.htm
W2K>HH windows.chm::ntcmds.htm
XP>HH ntcmds.chm
Or search these groups. Replace "your+keywords" with your keywords
http://www.google.com/groups?group=a...=your+keywords
http://www.google.com/groups?group=a...=your+keywords
http://www.google.com/groups?group=a...=your+keywords
http://www.google.com/groups?group=m...=your+keywords
or directly open the advanced Group Search page with preentered group:
http://www.google.com/advanced_group...lt.msdos.batch
http://www.google.com/advanced_group...msdos.batch.nt
http://www.google.com/advanced_group....msdos.batch.*
http://www.google.com/advanced_group...mdprompt.admin
If you are using internet explorer as your browser take a look here:
http://www.commandline.co.uk/searchurl/index.html
where Ritchie Lawrence lined out how to ease searching a lot.
HTH
--
Gruesse Greetings Saludos Saluti Salutations
Matthias
---------+---------+---------+---------+---------+---------+---------+