djs@chasefrs.UUCP (03/23/87)
Recently a program to redirect printer output to a disk file. I wondered is there a way (a program would be best) which redirects keyboard i/o from the keyboard to a file. This would enable me to run a program that uses the keyboard using a stored sequence of events, and then save the printed output in a disk. I could then have a dbase program look through a database and run a program through a set senario on data it found in the database, store the data on a disk file, read in the values and place them in the database. David Snyder
keeshu@nikhefk.UUCP (03/27/87)
In article <22@chasefrs.UUCP> djs@chasefrs.UUCP (David Snyder) writes: >I wondered is there a way (a program would be best) which redirects keyboard >i/o from the keyboard to a file. [rest omitted] >David Snyder You could try the following : A:>copy con file.txt put your text here... and here... and hit FunctionKey 6 DOS should come back with a the normal prompt. The words you typed are now in the file 'file.txt'. -- Kees | UUCP : keeshu@nikhefk.uucp or : {[wherever]!seismo}!mcvax!nikhefk!keeshu | FIDO : kees huyser at 28/9 or 500/11 | BITNET : u00212@hasara5.bitnet | SNAIL : kees huyser, NIKHEF-K, PO Box 4395, 1009 AJ Amsterdam, Netherlands
catone@dsl.cis.upenn.edu.UUCP (04/08/87)
In article <22@chasefrs.UUCP> djs@chasefrs.UUCP (David Snyder) writes: >Recently a program to redirect printer output to a disk file. >I wondered is there a way (a program would be best) which redirects keyboard >i/o from the keyboard to a file. This would enable me to run a program that >uses the keyboard using a stored sequence of events, and then save the printed >output in a disk. I could then have a dbase program look through a database >and run a program through a set senario on data it found in the database, >store the data on a disk file, read in the values and place them in the database. >David Snyder Standard DOS i/o redirection will work if your program reads it's keystrokes through DOS. Unfortunately, many application programs bipass DOS, going to the BIOS or even to int 9h. A while back, I briefly used a shareware program called Extended Batch Language, which among other things did what you want. It was nice, but as I had no real use for it, I gave it up. You should be able to find it on various user groups PD disks; if not, let me know. I can probably scare up a copy from Penn's Computer Resource Center (one of the few things they do well is keep up to date in PD software). - Tony catone@dsl.cis.upenn.edu catone@wharton.upenn.edu