home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / FRNTND41.ZIP / FRONTEND.DOC next >
Encoding:
Text File  |  1990-08-24  |  6.6 KB  |  201 lines

  1.  
  2.  
  3.                                FRONTEND.EXE
  4.  
  5.                          A GENERIC FRONTEND PROGRAM
  6.  
  7.  
  8. What is Frontend?
  9.  
  10.         Frontend is a generic frontend program that allows point & shoot
  11.         selection of file names from a very attractive directory
  12.         listing. It allows any program name to be called, including any
  13.         parameters that program needs, and it will be executed and
  14.         passed the file selected. I originally wrote Frontend as a point
  15.         & shoot program for my external upload protocols (I got tired of
  16.         typing the complete path & file name in at the Procomm prompt,
  17.         only to find I usually typed in the worng path, wrong drive,
  18.         mispelled the filename, etc.). However, it can be used with any
  19.         program that needs a filename fed to it, such as wordprocessors,
  20.         list programs, etc.
  21.  
  22. How do you use Frontend?
  23.  
  24.         Frontend is called and passed various parameters. It also has a
  25.         rudimentary debugging feature that helps spot errors in the
  26.         command line string.
  27.  
  28.         The  path to the called program need not be specified if the
  29.         program is in your path. If you add the parameter /D, the
  30.         program will display the command line as it will be passed
  31.         to dos, with a pause required to continue. The debugging
  32.         command line will include the expanded executable file name
  33.         (as it was found in the path) as well as the filename being
  34.         passed to the program. This helps spot errors in the command
  35.         line being passed. Frontend also displays a doserror code after
  36.         exiting to help in debugging (it does this whether or not
  37.         debugging is enabled).
  38.  
  39.  
  40.         Frontend also has the ability to sound an alarm after the
  41.         called program exits. If you add the parameter  /A to the
  42.         command line before the called program, then an alarm will
  43.         be sounded when the called program exits.
  44.  
  45.  
  46.         Frontend will also swap most of it (all except 4192 bytes) to
  47.         either EMS or disk, whatever is found with EMS getting
  48.         priority. Just add the parameter /S to the command line before
  49.         the called program.
  50.  
  51.  
  52.         Frontend will also pause after completion of the called program or
  53.         if any errors occur. This gives you a chance to see the dos error
  54.         and determine the problem if you are away from the CRT when it
  55.         occurs. Just add the parameter /P to the command line before the
  56.         called program.
  57.  
  58.  
  59.         Frontend also allows you to specify a mask for the file directory.
  60.         Just enter the mask (such as *.pas or de?.*) anywhere on the command
  61.         line before the called program and it will use that mask in the
  62.         directory display.
  63.  
  64.  
  65.         One or a combination of the command line switches must be before
  66.         the called executable. All the other parameters after the executable
  67.         program name are parameters that are to be passed to the executable
  68.         program upon execution.
  69.  
  70.  
  71.         If you want to change drives or directories, or want to enter a file-
  72.         name that is not displayed (such as to create a new file in an editor),
  73.         just start typing on the keyboard. A fully editable window will open
  74.         up to accept your entry.
  75.  
  76.  
  77.  
  78.         Frontend will display a dos error code upon completion. If the
  79.         code is not 0, it will pause for you to examine. Most likely error
  80.         codes are:
  81.  
  82.         2:      File not found (check to make sure you have included the
  83.                                 complete program name including extension
  84.                                 on the command line)
  85.  
  86.         3:      Path not found (See above)
  87.  
  88.  
  89.         4:      Too many files open (Increase your "Files=" statement in
  90.                                      config.sys)
  91.  
  92.         8:      Insuffecient memory (Try invoking the /S (swapping) command
  93.                                      on the command line)
  94.  
  95. EXAMPLES:
  96.  
  97.         1. Calling ZModem with parameters:
  98.  
  99.            FRONTEND DSZ.COM port 1 sz -m
  100.  
  101.            Remember to include the extension of the executable! This
  102.            would call ZModem for port 1, enable MobyTurbo, and send the
  103.            filename that will be appended to the line.
  104.  
  105.         2. Calling ZModem with parameters and debugging on:
  106.  
  107.            FRONTEND /D DSZ.COM port 1 sz -m
  108.  
  109.  
  110.         3. Calling ZModem with parameters, showing only *.zip files, and
  111.            alarm on:
  112.  
  113.            FRONTEND /A *.ZIP DSZ.COM port 1 sz -m
  114.  
  115.  
  116.         4. Calling ZModem with parameters and debugging and alarm on:
  117.  
  118.            FRONTEND /D /A DSZ.COM port 1 sz -m
  119.  
  120.         5. Calling ZModem with parameters and debugging and swapping and
  121.            alarm on:
  122.  
  123.            FRONTEND /S /D /A DSZ.COM port 1 sz -m
  124.  
  125.  
  126.  
  127.         6. Calling ZModem with parameters and debugging and swapping and
  128.            alarm and pause on:
  129.  
  130.            FRONTEND /S /D /A /P DSZ.COM port 1 sz -m
  131.  
  132.  
  133.         7. Calling EDLIN with file parameters, debugging, and swapping on:
  134.  
  135.            FRONTEND /S /D *.DOC EDLIN.COM
  136.  
  137. COMMAND SUMMARY:
  138.  
  139.         /A      Sound an alarm after the called program exits (good for
  140.                 external upload protocols so that you may know when the
  141.                 upload is finished)
  142.  
  143.         /D      Invoke the debugging line
  144.  
  145.         /S      Invoke code swapping (either to EMS (first priority) or to
  146.                 disk
  147.  
  148.         /P      Pause after the called program exits (good for checking status
  149.                 of uploads after completion)
  150.  
  151.  
  152.         * and ? may be included in the command line before the called program
  153.         to specify a mask for the directory display.
  154.  
  155. HISTORY:
  156.  
  157. Frontend V1.0:
  158.  
  159.         Original release of Frontend. Did not have the alarm, swapping,
  160.         or pause functions included.
  161.  
  162.  
  163. Frontend V2.0:
  164.  
  165.         Added the swapping and alarm routines and simplified the commands
  166.         to do so.
  167.  
  168. Frontend V3.0:
  169.  
  170.         Added the pause feature, so you could see the status of your last
  171.         upload, for example.
  172.  
  173. Frontend V4.0
  174.  
  175.         Added the ability to specify a mask for the directory display.
  176.  
  177.  
  178.  
  179. Frontend V4.1
  180.  
  181.         Fixed minor bug in display colors on a monochrome monitor. Zip file
  182.         is now called FRNTND**.ZIP, to take into account minor changes not
  183.         requiring a major revision change.
  184.  
  185.  
  186.  
  187. Hope this helps. I used to use ByteBrothers Powernode, but I got tired
  188. of the time it takes to load. This is quick and painless.
  189.  
  190.  
  191.  
  192. Mike Matheny
  193. Houston, Tx.
  194. Home: 713-480-5164
  195. Work: 713-933-8050 Ext. 221
  196.  
  197.  
  198.  
  199.  
  200.  
  201.