home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / PRIORITY.LZH / PRIORITY.DOC < prev    next >
Text File  |  1992-07-11  |  1KB  |  33 lines

  1. PRIORITY.EXE is public domain (C source and OS/2 16-bit (1.x)
  2. executable).  It can be used to fire up an OS/2 application at any
  3. priority.  Note that some OS/2 applications adjust their own priority;
  4. this shouldn't be used with them.
  5.  
  6. To use, call as:
  7.  
  8.   PRIORITY.EXE <priclass> <pridelta> <prog to run> <args> <for> <prog>
  9.  
  10. <priclass> can be from 1 to 4.  Priority increases with the value of the
  11. number, except that class 4 (which was added after class 3 already
  12. existed) is lower than class 3.  So:    1  2  4  3  in order of
  13. ascending priority.  PRIORITY will abort with errorlevel 1 if <priclass>
  14. is invalid, or if not enough arguments are passed.  Otherwise, it
  15. returns the errorcode returned by <prog to run>.
  16.  
  17. <pridelta> is from 0 to 31.  The higher the number the higher the
  18. priority within the priority class.
  19.  
  20. <prog to run> is the program you want to run.
  21.  
  22. <args> <for> <prog> are the arguments passed to <prog to run>.  There
  23. can be as many of them as you like.  Just thing of everything from <prog
  24. to run> on as a regular command line.
  25.  
  26. TESTPRI.CMD in the archive will demonstrate how Priority works and
  27. verify that it works as advertised.
  28.  
  29.  
  30. M. Kimes
  31. (318)222-3455 data
  32. 1:380/16.0@Fidonet
  33.