# Extended Commands

> Source: https://manual.pvxplus.com/commands

Whenever an unrecognized command is entered in Command mode without a line number, the system will take the first word of the command and use it to look up a program in the **\*cmd** directory or the **\*cmd/system** directory or a **\_cmd** directory in the application's starting directory.

***Example:***

If you enter the command …

```
->mike was here
```

… the system will look for the program "**\*cmd/mike**" or if not found, "**\*cmd/system/mike**", or if not found, *starting directory*/**\_cmd/mike**. If the program is found, the system will call the program and pass the complete line following the file name (or "**was here**" in this example) to the program.

This facility allows developers to extend the development environment with their own programs, as well as provide simple access to a variety of additional commands included with the development suite. By convention, user developed commands should be placed in the "**\*cmd**" directory with system supplied commands in "**\*cmd/system**". This allows system commands to be updated whenever new versions of the software are downloaded.

To avoid losing user developed commands, it is recommended that they be placed in a directory named **\_cmd** in the application's starting directory.

Some of the most ***commonly used*** system commands are:

|  |  |
| --- | --- |
| **Command** | **Description** |
| **ai** | Spawns a session of the PxPlus AI Assistant. See **[AI Console Command](https://manual.pvxplus.com/commands/ai)**.<br>*(The AI command was added in PxPlus 2025 Update 1.)* |
| **cd** | Change the current working directory for the process (similar to the '**cd**' command in UNIX/Linux). See **[CD Console Command](https://manual.pvxplus.com/commands/cd)**.<br>*(The CD command was added in PxPlus v6.30.)* |
| **chartsched** | Invokes **[Chart Image Generation Schedule Maintenance](https://manual.pvxplus.com/chart-images-generation/schedule-the-chart-generation)** for adding schedule entries for chart image generation.<br>*(The CHARTSCHED command was added in PxPlus v11.50.)* |
| **clip** | Utility to copy lines to the Clipboard. |
| **cls** | Clears the Command Line editing screen. See **[CLS Console Command](https://manual.pvxplus.com/commands/cls)**.<br>*(The CLS command was added in PxPlus 2025.)* |
| **color/colour** | Utility to control the syntax colors used to list programs on the screen. |
| **cp** | Copies a file from one location to another. See **[CP Console Command](https://manual.pvxplus.com/commands/cp)**.<br>*(The CP command was added in PxPlus v7.65.)* |
| **dbg** | Text mode debug utility. See **[DBG Console Command](https://manual.pvxplus.com/commands/dbg)**.<br>*(The DBG command was added in PxPlus v8.30.)* |
| **dd** | Invokes **[Data Dictionary Maintenance](https://manual.pvxplus.com/data-dictionary/data-dictionary-maintenance/overview)** for building and maintaining data definitions.<br>To invoke **Data Dictionary Maintenance** for a specific table in the current working directory, enter **DD** *tablename*. |
| **dir** | Directory list and display utility. See **[DIR Console Command](https://manual.pvxplus.com/commands/dir)**. |
| **dm** | Invokes **[Data Mirroring Configuration](https://manual.pvxplus.com/data-mirroring/data-mirroring-configuration)** for configuring and monitoring the different processes for the Data Mirroring system.<br>*(The DM command was added in PxPlus v2018.)* |
| **ds** | Invokes **[Data Source Maintenance](https://manual.pvxplus.com/views-system/data-source-maintenance/overview)** for defining Views data sources. |
| **ed+** | Invokes the Web-based **[Ed+ Program Editor](https://manual.pvxplus.com/ed-program-editor)** for creating and modifying your application programs.<br>*(The ED+ command was added in PxPlus 2016.)* |
| **errors** | Display error history. See **[ERRORS Console Command](https://manual.pvxplus.com/commands/errors)**.<br>*(The ERRORS command was added in PxPlus v11.00.)* |
| **f** | Simple find string utility. Enter **"f *xxxx*"** to find and display all occurrences of ***xxxx*** in your program. |
| **fm** | Invokes the **[File Update Utility](https://manual.pvxplus.com/file-update-utility)** for viewing, modifying and updating the records within a selected data file. |
| **fmgen** | Invokes the **[NOMADS Session Manager](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/getting-started#sessionmgr)** for opening an existing file maintenance panel or defining a new one in the NOMADS **[File Maintenance Generator](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/fmgen-introduction)**. See **[FMGEN Console Command](https://manual.pvxplus.com/commands/fmgen)**.<br>(*The FMGEN command was added in PxPlus 2025.)* |
| **gui** | Invokes the graphical user interface based **[System Utilities](https://manual.pvxplus.com/pxplus-user-guide/getting-started/system-utilities/graphical-utilities)** that are used for the creation, debugging, and management of PxPlus programs, files and directories. |
| **help** | Launches the PxPlus Help file. |
| **ide** | Invokes the PxPlus **[IDE Main Launcher (Windows)](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher)**, which presents all the PxPlus development tools, installation and setup components in a tree-like format.<br>*(The IDE command was added in PxPlus 2014.)* |
| **it** | Invokes the PxPlus **[Integrated Toolkit](https://manual.pvxplus.com/toolkit1/sect1-1/a)**. When executed, the current program (if not passworded) will be automatically loaded into the graphical program editor. |
| **join** | Command to join two lines together. Enter **"join *xxxxx yyyyy*"** to append line ***xxxxx*** to the end of line ***yyyyy***. |
| **kill** | Terminate a process. See **[KILL Console Command](https://manual.pvxplus.com/commands/kill)**.<br>*(The KILL command was added in PxPlus v7.65.)* |
| **ll** | List Labels command to display all line labels in the current program. |
| **loadbbx** | Utility to do an inline conversion and load of a BBx® program. Enter **"loadbbx*pathname*"** to convert and load the BBx® program in the pathname specified. |
| **ls** | List directory is a command similar to the UNIX/Linux "ls" command. Enter **"ls *pathname*"** to list the filenames found in the directory. Wild cards (\*) can be provided.<br>To display the file size, type and date changed for each filename listed, use the **-l** *(dash lowercase L)* option: **"ls *pathname* -l"**.<br>*(The -l option was added in PxPlus 2014 Feature Pack 1 - Update 0002.)* |
| **lv** | List all the variables used by the current program, or if invoked with a variable name following the **'lv'** command, the utility will list all lines that reference the specified variable. |
| **new** | Issues a **DELETE** and **BEGIN** to clear the current workspace and close all open files. |
| **nom** | Invokes the **[NOMADS Session Manager](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/getting-started#sessionmgr)** for accessing the NOMADS graphical application development toolset.<br>Specifying a *panel_name$* and *library_file$* opens an existing NOMADS panel or creates a new one in the **[NOMADS Panel Designer](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/introduction)**.<br>If the panel object was created with the **[File Maintenance Generator](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/fmgen-introduction)**, a message will ask you to choose between opening the panel in the File Maintenance Generator or in the NOMADS Panel Designer.<br>See **[NOM Console Command](https://manual.pvxplus.com/commands/nom)**.<br>*(The ability to open a file maintenance panel in the File Maintenance Generator was added in PxPlus 2025.)* |
| **obj** | Utility to display the properties and methods for an object. Enter **"obj *xxxxx*"** where ***xxxxx*** contains the object handle to display. |
| **olhelp** | Launches the online PxPlus Help manual in a Web browser. See **[OLHELP Console Command](https://manual.pvxplus.com/commands/olhelp)**.<br>*(The olhelp command was added in PxPlus 2024.)* |
| **password** | Command to prompt the user for the password to be used against the current program in memory. See **[PASSWORD Console Command](https://manual.pvxplus.com/commands/password)**.<br>*(The PASSWORD command was added in PxPlus v8.30.)* |
| **paste** | Command to paste the contents of the Clipboard into the current program. |
| **pkg** | Command to display the current activation status and list of enabled packages on the system. |
| **popup** | Invokes the **[NOMADS Session Manager](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/getting-started#sessionmgr)** for opening an existing NOMADS popup menu or defining a new one. See **[POPUP Console Command](https://manual.pvxplus.com/commands/popup)**.<br>(*The POPUP command was added in PxPlus 2025.)* |
| **pwd** | Display the current directory. See **[PWD Console Command](https://manual.pvxplus.com/commands/pwd)**.<br>*(The PWD command was added in PxPlus v7.65.)* |
| **qry** | Invokes the **[NOMADS Session Manager](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/getting-started#sessionmgr)** for opening an existing NOMADS query or defining a new one. See **[QRY Console Command](https://manual.pvxplus.com/commands/qry)**.<br>(*The QRY command was added in PxPlus 2025.)* |
| **recall** | Recall a prior version of the current program from the internal version history buffers. |
| **register** | Register software online. See **[REGISTER Console Command](https://manual.pvxplus.com/commands/register)**.<br>*(The REGISTER command was added in PxPlus v11.00.)* |
| **rw** | Invokes the **[Report Writer](https://manual.pvxplus.com/report-writer/designing-a-report/report-designer/overview)** for designing and generating reports. |
| **sa** | Invokes the **[System Analysis](https://manual.pvxplus.com/utilities/system-analysis)** utility for analyzing the PxPlus installation and setup.<br>(*The SA command was added in PxPlus 2022.)* |
| **set_nk** | Sets/resets the **['NK'](https://manual.pvxplus.com/parameters/nk)** system parameter for a file. See **[SET_NK Console Command](https://manual.pvxplus.com/commands/set-nk)**.<br>(*The SET_NK command was added in PxPlus 2020.)* |
| **tasks** | View a list of PxPlus tasks currently running and/or search for open files. See **[TASKS Console Command](https://manual.pvxplus.com/commands/tasks)**.<br>*(The TASKS command was added in PxPlus v7.65.)* |
| **users** | View PxPlus users and their associated process IDs. See **[USERS Console Command](https://manual.pvxplus.com/commands/users)**.<br>*(The USERS command was added in PxPlus v9.00.)* |
| **ver** | Utility to display information about the program currently in memory including date saved, who saved it, program size, and security information. See **[VER Console Command](https://manual.pvxplus.com/commands/version)**. |
| **vu** | Invokes **[View Maintenance](https://manual.pvxplus.com/views-system/view-maintenance/overview)** for creating View definitions. |
| **wdw** | Adjust the window size of the main (Command) window. See **[WDW Console Command](https://manual.pvxplus.com/commands/wdw)**.<br>*(The WDW command was added in PxPlus v9.00.)* |

BBx® is a registered trademark of BASIS International Ltd.
