Jump to content

ExecMode

From EDM2
Revision as of 00:08, 22 October 2022 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ExecMode is a single processor execution mode utility. It is provided on OS/2 Warp.

Description

Some programs do not run correctly on multiple processors. You can use the ExecMode utility program to list, set, and reset your programs that must run in single-processor mode.

Syntax

execmode (options) [d:[\[path\]]]...filenam1.ext (options) [filenam2.ext] ...

NOTES:

  • Wildcards (*,?) in file names and extensions can be used.
  • Up to fifty arguments (file names and options) on the command line.
  • Arguments (file names and options) can be specified in any order.
  • Press any key to terminate Wildcard loops.

OPTIONS: (must be preceeded by a '-' or '/' and must be specified separately)

sp - set files for SINGLE-PROCESSOR (sp) operation.
mp - reset files for MULTIPROCESSOR (mp) operation.
l - LIST files matching selected (?p) operation.
s - enables SUBDIRECTORY searching.
f - FORCE changes on read-only files.
v - sets VERBOSITY to maxiumum.
q - sets QUIET mode (no output).
d - display DEBUG messages.
t - sets TEST mode (no writes to disk).

If no file type (-sp or -mp) is specified, type -sp is assumed.

Example

For example, if you want to set a program to run in single-processor mode, you would type:

EXAMPLE:

execmode -sp d:\os2\filename.exe
where:
 -sp is an option
 d: is the drive
 os2 is the path
 filename.exe is the name of the program set to run in single-processor mode

Versions

  • 1.0 (2002-03-11)

Related Links