Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!psuvax1!psuvm!cunyvm!ndsuvm1!mtus5!ythnmadd From: YTHNMADD@MTUS5.BITNET (Noel Maddy) Newsgroups: comp.sys.misc Subject: Re: IBM PC .BAT FILE. Message-ID: <90354.095304YTHNMADD@MTUS5.BITNET> Date: 20 Dec 90 14:53:04 GMT References: <9012190852.AA25958@ucbvax.Berkeley.EDU> Organization: Computing Technology Services, Michigan Technological Univ. Lines: 30 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 > !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