1 | :h1 res=90600 name=PANEL_CMDLINE.Editing Commandline
|
---|
2 | :i1 id=aboutCmdline.Editing Commandline
|
---|
3 | Enter any optional arguments to the program here as you would on the
|
---|
4 | command line. Remember that, when passing commands to a command
|
---|
5 | processor such as CMD.EXE, like DIR, it's CMD.EXE /C DIR, not just
|
---|
6 | CMD.EXE DIR.
|
---|
7 | :p.
|
---|
8 | :hp1.Full Screen, Maximized, Minimized, Invisible, Default&colon.:ehp1.
|
---|
9 | control how the program will be run. Default is usually in a window
|
---|
10 | with OS/2 controlling the size of the initial window. Note that PM
|
---|
11 | programs will always run on the desktop in a window and programs marked
|
---|
12 | full screen only will always run in a full screen session. This
|
---|
13 | corresponds to START /FS, /MAX, /MIN, /I or just START.
|
---|
14 | :p.
|
---|
15 | :hp1.Keep when done&colon.:ehp1. determines whether the window will
|
---|
16 | remain until you close it, or go away when the command completes. It's
|
---|
17 | like START /K. For reasons of safety (too complex to explain briefly)
|
---|
18 | you aren't allowed to Keep a DOS session; this flag is ignored for DOS
|
---|
19 | executables.
|
---|
20 | :p.
|
---|
21 | The :hp1.Environment:ehp1. MLE control lets you enter environment strings
|
---|
22 | for the program to inherit. Generally speaking, this is only for running
|
---|
23 | DOS programs as any strings entered here are interpreted as DOS settings.
|
---|
24 | For example, :hp3.IDLE_SECONDS=5:ehp3. would adjust the DOS setting
|
---|
25 | IDLE_SECONDS to 5. Names of DOS settings are as shown in the Settings
|
---|
26 | notebook for a DOS program.
|
---|
27 | :p.
|
---|
28 | Note&colon. FM/2 automatically stores command lines you use here for
|
---|
29 | you if the :hp1.Save command line:ehp1. checkbox is checked. You can
|
---|
30 | get to them by clicking the :hp1.V:ehp1. button beside the entry field.
|
---|
31 | Up to 250 command lines can be stored in this manner, kept in a file
|
---|
32 | named CMDLINES.DAT between sessions. Pressing the :color fc=default bc=palegray.Delete:color fc=default bc=default.
|
---|
33 | key (or clicking the :hp1.Del:ehp1. button that appears) while one of the
|
---|
34 | names in the listbox is highlighted will remove it. Pressing :color fc=default bc=palegray.Ctrl
|
---|
35 | :color fc=default bc=default. + :color fc=default bc=palegray.Delete:color fc=default bc=default.. will remove (wipe) all entries.
|
---|
36 | :p.
|
---|
37 | Tech note&colon. FM/2 picks the directory in which to start the process
|
---|
38 | using the following criteria&colon.
|
---|
39 | .br
|
---|
40 | If the executable contains a path, FM/2 uses that directory.
|
---|
41 | .br
|
---|
42 | Otherwise, if the first filename argument contains a path, FM/2 uses
|
---|
43 | that directory.
|
---|
44 | .br
|
---|
45 | Otherwise, FM/2 uses its default directory.
|
---|
46 | :p.
|
---|
47 | See also (in the online Command Reference CMDREF.INF)&colon.
|
---|
48 | :p.
|
---|
49 | :link reftype=launch object='VIEW.EXE' data='CMDREF.INF
|
---|
50 | CMD.EXE'.CMD.EXE:elink.
|
---|
51 | .br
|
---|
52 | :link reftype=launch object='VIEW.EXE' data='CMDREF.INF START'.START
|
---|
53 | command:elink.
|
---|