Run, Implied

When you enter a command that Qedit cannot interpret, it checks to see if it might be the name of a program. First it looks in the logon group for a file whose name matches your command name. Then it looks in the Pub group of the logon account and finally it looks in the Pub.Sys group. If it finds a program file that matches, Qedit then runs that program.

To tell Qedit which groups to search for program files, set the Hppath variable:

  /showvar hppath  HPPATH = !hpgroup,pub,pub.sys  /setvar hppath "!hpgroup,bin,pub,pub.sys"  /set hppath "!hpgroup,bin,pub,pub.sys"   {MPE V!}  

For example, to run Spook.Pub.Sys, you just enter

  /spook  

This is called an “implied Run.” You are allowed two parameters on an implied Run command:

/progname ["infostring"] [,parmvalue]

or

/progname [;Info="infostring"] [;Parm=parmvalue]

You can enter the Info and Parm values as either keyworded parameters or positional parameters. If the first symbol after the program name is neither Info or Parm, it will be interpreted as the Info string (i.e., quotes are not necessary if the Info string is a single symbol). If you need other parameters, such as Maxdata or Lib, you will have to use the standard :Run command.

Examples

  /magnet "-f@.source input-buffer -c -l -e"  

This looks for a program called Magnet somewhere in the Hppath and executes it with an Info string.

  /pscreen,3  

The above command looks for a program called Pscreen, and executes it with Parm=3.

Run, Implied