KEY-FAKE Supplies keystrokes to a program which is running from the batch file which ran it. Let's you answer those dumb prompts inside a program that you must always answer, or lets you an external startup macro line on any programs input. Better than redirect because many programs use BIOS interrupt 16h instead of the DOS calls for input. Syntax: KEY-FAKE "color 14,1,1" 13 "cls" 13 BASICA Note that the ascii is in quotes and the control characters and unprintables are just in decimal, 13 is 0Dh or CR (carriage return). If you must use quotes in the command string please use the other type, and it doesn't matter which kind is used for the delimiter and which for the internal quote(s)!!! If you need to use extended ascii or function keys, preface the numbers with the at, @, symbol and use the scan code number in decimal! Like @61 for F3. Or how about the old nut of returning to the departure subdir after a batch to a different subdir: KEY-FAKE "CD" 26 13 <----CD ^Z CR copy con \retdir.bat cd >> \retdir.bat . . . more batfile . . . then end your batfile.bat with: . . . cd\ retdir This will only hold 124 keystrokes, and it won't work on XyWrite (big deal), also can't do the "impossible" like alt-home, but what the hell.
fred1144