Q_BUI%MSVAX1@SC.INTEL.COM ("Qubn Byi Jr., 765-2452, M/S:SC2-07", 408) (12/19/90)
Hello: I am currently looking for a way to pass the parameters in .BAT file to a program. For example, when you executed a word processor program, usually you have to supply it with a filename to load. Now what I need is to write a .BAT file to execute a program and then supply it with the name of the file to load. E.G.: WP !to run Word Perfect <ALT-F1>!get into Thesaurus menu 3 !prompt for word . ! AND SO ON . and all those parameters will pass to program and execute it automatically - just like you enter it from the keyboard. And for those whose are experienced with VAX batch files will get the ideas of what I am talking about. **** Any info will greatly appreciated.****
YTHNMADD@MTUS5.BITNET (Noel Maddy) (12/20/90)
In article <9012190852.AA25958@ucbvax.Berkeley.EDU>, Q_BUI%MSVAX1@SC.INTEL.COM ("Qubn Byi Jr., 765-2452, M/S:SC2-07", 408) says: > >Hello: > I am currently looking for a way to pass the parameters in .BAT >file to a program. For example, when you executed a word processor program, >usually you have to supply it with a filename to load. Now what I need is >to write a .BAT file to execute a program and then supply it with the name >of the file to load. > >E.G.: WP !to run Word Perfect > <ALT-F1>!get into Thesaurus menu > 3 !prompt for word > . ! AND SO ON > . > >and all those parameters will pass to program and execute it automatically >- just like you enter it from the keyboard. And for those whose are >experienced >with VAX batch files will get the ideas of what I am talking about. > >**** Any info will greatly appreciated.**** There is a neat PC Magazine utility called KEY-FAKE.COM that allows you to fill the keyboard buffer before starting a program. This will not work with programs that do not use the standard DOS keyboard buffer, however. It's really handy with the ones that do work, though. -- Noel Maddy ythnmadd@mtus5.bitnet