home *** CD-ROM | disk | FTP | other *** search
-
-
- FRONTEND.EXE
-
- A GENERIC FRONTEND PROGRAM
-
-
- What is Frontend?
-
- Frontend is a generic frontend program that allows point & shoot
- selection of file names from a very attractive directory
- listing. It allows any program name to be called, including any
- parameters that program needs, and it will be executed and
- passed the file selected. I originally wrote Frontend as a point
- & shoot program for my external upload protocols (I got tired of
- typing the complete path & file name in at the Procomm prompt,
- only to find I usually typed in the worng path, wrong drive,
- mispelled the filename, etc.). However, it can be used with any
- program that needs a filename fed to it, such as wordprocessors,
- list programs, etc.
-
- How do you use Frontend?
-
- Frontend is called and passed various parameters. It also has a
- rudimentary debugging feature that helps spot errors in the
- command line string.
-
- The path to the called program need not be specified if the
- program is in your path. If you add the parameter /D, the
- program will display the command line as it will be passed
- to dos, with a pause required to continue. The debugging
- command line will include the expanded executable file name
- (as it was found in the path) as well as the filename being
- passed to the program. This helps spot errors in the command
- line being passed. Frontend also displays a doserror code after
- exiting to help in debugging (it does this whether or not
- debugging is enabled).
-
-
- Frontend also has the ability to sound an alarm after the
- called program exits. If you add the parameter /A to the
- command line before the called program, then an alarm will
- be sounded when the called program exits.
-
-
- Frontend will also swap most of it (all except 4192 bytes) to
- either EMS or disk, whatever is found with EMS getting
- priority. Just add the parameter /S to the command line before
- the called program.
-
-
- Frontend will also pause after completion of the called program or
- if any errors occur. This gives you a chance to see the dos error
- and determine the problem if you are away from the CRT when it
- occurs. Just add the parameter /P to the command line before the
- called program.
-
-
- Frontend also allows you to specify a mask for the file directory.
- Just enter the mask (such as *.pas or de?.*) anywhere on the command
- line before the called program and it will use that mask in the
- directory display.
-
-
- One or a combination of the command line switches must be before
- the called executable. All the other parameters after the executable
- program name are parameters that are to be passed to the executable
- program upon execution.
-
-
- If you want to change drives or directories, or want to enter a file-
- name that is not displayed (such as to create a new file in an editor),
- just start typing on the keyboard. A fully editable window will open
- up to accept your entry.
-
-
-
- Frontend will display a dos error code upon completion. If the
- code is not 0, it will pause for you to examine. Most likely error
- codes are:
-
- 2: File not found (check to make sure you have included the
- complete program name including extension
- on the command line)
-
- 3: Path not found (See above)
-
-
- 4: Too many files open (Increase your "Files=" statement in
- config.sys)
-
- 8: Insuffecient memory (Try invoking the /S (swapping) command
- on the command line)
-
- EXAMPLES:
-
- 1. Calling ZModem with parameters:
-
- FRONTEND DSZ.COM port 1 sz -m
-
- Remember to include the extension of the executable! This
- would call ZModem for port 1, enable MobyTurbo, and send the
- filename that will be appended to the line.
-
- 2. Calling ZModem with parameters and debugging on:
-
- FRONTEND /D DSZ.COM port 1 sz -m
-
-
- 3. Calling ZModem with parameters, showing only *.zip files, and
- alarm on:
-
- FRONTEND /A *.ZIP DSZ.COM port 1 sz -m
-
-
- 4. Calling ZModem with parameters and debugging and alarm on:
-
- FRONTEND /D /A DSZ.COM port 1 sz -m
-
- 5. Calling ZModem with parameters and debugging and swapping and
- alarm on:
-
- FRONTEND /S /D /A DSZ.COM port 1 sz -m
-
-
-
- 6. Calling ZModem with parameters and debugging and swapping and
- alarm and pause on:
-
- FRONTEND /S /D /A /P DSZ.COM port 1 sz -m
-
-
- 7. Calling EDLIN with file parameters, debugging, and swapping on:
-
- FRONTEND /S /D *.DOC EDLIN.COM
-
- COMMAND SUMMARY:
-
- /A Sound an alarm after the called program exits (good for
- external upload protocols so that you may know when the
- upload is finished)
-
- /D Invoke the debugging line
-
- /S Invoke code swapping (either to EMS (first priority) or to
- disk
-
- /P Pause after the called program exits (good for checking status
- of uploads after completion)
-
-
- * and ? may be included in the command line before the called program
- to specify a mask for the directory display.
-
- HISTORY:
-
- Frontend V1.0:
-
- Original release of Frontend. Did not have the alarm, swapping,
- or pause functions included.
-
-
- Frontend V2.0:
-
- Added the swapping and alarm routines and simplified the commands
- to do so.
-
- Frontend V3.0:
-
- Added the pause feature, so you could see the status of your last
- upload, for example.
-
- Frontend V4.0
-
- Added the ability to specify a mask for the directory display.
-
-
-
- Frontend V4.1
-
- Fixed minor bug in display colors on a monochrome monitor. Zip file
- is now called FRNTND**.ZIP, to take into account minor changes not
- requiring a major revision change.
-
-
-
- Hope this helps. I used to use ByteBrothers Powernode, but I got tired
- of the time it takes to load. This is quick and painless.
-
-
-
- Mike Matheny
- Houston, Tx.
- Home: 713-480-5164
- Work: 713-933-8050 Ext. 221
-
-
-
-
-
-