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 used in, and is automatically set by, StreamBase Studio, which does not take it from the operating system
environment. This variable is not required for using the epadmin command-line deployment tool, but the variable is set into some
|PATH for StreamBase||
|JAVA_HOME||If JAVA_HOME is not set, set to
|PATH for Java||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 an EventFlow or LiveView project folder in Studio's Project Explorer, right-click, and select Open StreamBase Command Prompt Here from the context menu. This opens a StreamBase Command Prompt whose current directory is the selected project's directory in the Studio workspace.
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: