Chapter 7 Programmer's WorkBench Reference

7.1 PWB Command Line

Syntax

PWB [[options]] [[/t]]files

Options

Use the following case-insensitive options when starting PWB:

/D[[S|T|A]]...

Disables PWB loading the initialization files or PWB extensions as indicated by the following letters:

Letter Meaning,  

S Disable reading the status file CURRENT.STS,  
T Disable reading TOOLS.INI,  
A Disable PWB extension autoload,  

The /D option alone disables loading all the PWB extension and initialization files. See: Autoload.

Note:

If you start PWB with the /DT option, this means that PWB options you change during the session cannot be saved.

/PP makefile

Opens the specified PWB project.

/PF makefile

Opens the specified non-PWB project (foreign makefile).

/PL

Resets the last project. Use this option to start PWB in the same state you last left it. You can set this option as the default by setting the Lastproject switch to yes.

/PN

Sets no project at startup. Overrides Lastproject:yes.

/E command

Executes the given command or sequence of commands as a macro upon startup.

If command contains a space, command should be enclosed in double quotation marks ("). A single command need not be quoted. If command uses literal quotation marks, place a backslash (\) before each mark. To use a backslash, precede it with another backslash.

/R

PWB starts in no-edit mode. You cannot modify files in this mode. See: Noedit.

/M {mark | line}

PWB starts at the specified location. See: Mark.

[[ [[/T]] file]]...

Tells PWB to load the given files on startup. If you specify a single file, PWB loads it. If you specify multiple files, PWB loads the first file; then when you use File Next or the Exit function, PWB loads the next file in the list.

If a /T precedes a filename or wildcard, PWB loads each file as a temporary file. PWB does not include temporary files in the list of files saved between sessions.

Note:

No other options can follow /T on the PWB command line. You must specify /T for each file you want to be temporary.