[comp.sys.misc] PC Bat programming

mlsmith@NADC.NADC.NAVY.MIL (M. Smith) (12/21/90)

        Since no one has mentioned it the redirection arrows < and > can be
used to replace standard input and output. If you put the commands in a file
called commands.ws and invoke wordstar with the line:

ws <commands.ws

the commands will be sent to the program. However, most word processors grab
keys in strange ways, and this redirection may not work right. Also, even if
the keys are taken correctly, any error will put the order off (i.e. the line
is only sent once from the file) and error messages which require a keyboard
response mess up the order even more (i.e. a program that demands a space bar
will wait until a space occurs in the input file before releasing control.)

Anyone got wordstar to see if this works?