The commandline

Updated on 08-Aug-2016.

What is a command line.

Pegasus Mail is a program that origins from 1980, more then 25 years ago. In that days WINDOWS was not even born. Pmail.exe was the program that would run under DOS and was started by a command line. A command line is the string of characters that tells the Operating System (WINDOWS) to do something, in this case to startup a program called Pegasus Mail and pass all kind of information to that program.

An example of a complex command line might look like this (Explained at the bottom of this page):

C:\PMAIL\Programs\winpm-32.exe -A -O -MS -E PMAILN.CFG -Y pmail_lpt.ini -i usrx -Z 32270

Nowedays programs are no longer started by entering a comandline and executing this to the Operating System. The most modern form of a command line is the Shortcut under Windows. For those who do not know what a shortcut is, just rightclick on any icon on your Windows desktop and choose properties. Under target you will find the command line.

The Pegasus Mail command line.

The Pegasus Mail command line is discussed in the Pegasus Mail Help. To get there, open Pegasus Mail and go:

Help -> Command line Options

There you can read interesting stuff about (among others) the following subjects :

There is very little need for repeating the information from the Help here, you can read that yourself. So we will add some practical use information about the command line on this (and releated) page.

General information on the command line

Pegasus Mail is able to run in a very wide range of environments using a wide variety of message formats and transports. This versatility means that the program has a very rich selection of configuration options (as you can see by looking through the various preferences screens in the program). Some of the more specialised configuration options, as well as options for sending mail automatically, are accessed by passing parameters to the program on its command line. The command line is a set of parameters which the Windows Program Manager can pass to Pegasus Mail at startup, and is part of the Properties of the icon/shortcut you create for Pegasus Mail. To change the command line for Pegasus Mail, select its icon/shortcut in the Program Manager and press <Alt+Enter>, or else choose Properties from the File menu.

Run control options.

The most used options, which can make your e-mail live a bit easier, are those to avoid pop-up screens at startup, like:

-Z, The feature control flag.

There is so much to tell about the -Z feature control that I created a specific page about the flags

As promissed, here is a description of the example commandline:

Commandline partdescription
-AForces Pegasus Mail to run in standalone mode, ignoring any NetWare connection
-OEnter offline mode. In offline mode
-MSStart multiple sessions of Pegasus Mail
-E PMAILN.CFGInstructs Pegasus Mail to use an alternate standalone configuration file: by default, Pegasus Mail looks for a configuration file called PMAIL.CFG
-Y pmail_lpt.iniSpecify an alternative name for the Pegasus Mail User Preferences file, PMAIL.INI
-i usrxSpecify your standalone identity on the commandline.
-Z 32270The feature control flag

Go back to my homepage  Mail me.