The StreamBase Command Prompt is a feature of the Windows version of StreamBase.
The StreamBase installer places a link in the Start menu for the StreamBase
n.m Command Prompt, where
m are the major and minor StreamBase release numbers. This link opens a Windows Command Prompt session with its environment
pre-set for running StreamBase command-line utilities.
The following table summarizes the Windows environment settings set in the StreamBase Command Prompt.
|STREAMBASE_HOME||Set to the absolute path to the top-level StreamBase installation directory, not including a trailing backslash.|
|TIBCO_EP_HOME||Set to the same path as STREAMBASE_HOME. This variable is required by the epadmin command.|
|JAVA_HOME||If JAVA_HOME is not set, set to
|JAVA_HOME||If JAVA_HOME is not set, prepends
|TERR_HOME||If TERR_HOME is not set, set to
Open a StreamBase Command Prompt with the following command sequence for Windows 7:
→ → →
For Windows 10, click Start and start typing
StreamBase 10 until Windows locates StreamBase 10.0 Command Prompt.
You can also select the top level of a project folder in the Studio Package Explorer, right-click, and select one of the following from the context menu. This opens a StreamBase Command Prompt whose current directory is the selected project's directory in the Studio workspace.
Select Open StreamBase Command Prompt Here (Windows).
Select Open StreamBase Command Terminal Here (MacOS).
Select Open StreamBase Command Shell Here (Linux).
For running most utilities and samples on Windows, you can use the normal StreamBase Command Prompt as installed in the Start menu. However, with User Account Control (UAC) enabled, certain StreamBase commands that require elevated privileges may fail silently or return an error message.
To run the StreamBase Command Prompt with elevated privileges on Windows 10 with UAC enabled, follow these steps:
Click the Windows Start icon in the lower left corner of the Taskbar. This opens the Start menu, but also opens a search facility.
Begin typing the name StreamBase 10 Command Prompt until that option is recognized. In general, you only need to type
Right-click the StreamBase 10 Command Prompt entry in the search results list to view its context menu.
Select Run as Administrator.
Windows prompts for permission to run the elevated privilege command.
To run the StreamBase Command Prompt with elevated privileges on Windows 7 with UAC enabled, follow these steps:
Click the Windows orb in the lower left corner of the Taskbar.
Click All Programs.
Locatein the list of programs and click to open the menu.
Open the StreamBase n.m folder, where n.m represents your release number.
Right-click the StreamBase
n.mCommand Prompt entry and select Run as administrator from the context menu.
Click Continue in the resulting User Account Control dialog.
In both Windows 7 and 10, a StreamBase Command Prompt opened with administrator privileges shows the word Administrator in the title bar, and opens by default in the
Windows\system32 directory instead of the StreamBase installation directory.
To navigate to the StreamBase installation directory, use the following command: