User Guide/STX Console: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
===Special Commands implemented by the Console Application=== | ===Special Commands implemented by the Console Application=== | ||
;<code>CD</code> | ;<code>CD</code> | ||
:result: current directory | ;<code>PWD</code>: Show the current directory. | ||
:'''result''': the full path of the current directory | |||
;<code>CD dir</code> | ;<code>CD dir</code> | ||
:result: the | ;<code>PWD dir</code>: Set the current directory to ''dir'' | ||
:'''result''': the full path of the current directory or an empty string if the command fails | |||
;<code>CD /diropt</code> | |||
;<code>PWD /diropt</code>: Set the current directory to the path selected by the option ''diropt''. | |||
:/Work &larrow {{STX}} working directory | |||
;<code>CLS</code> | |||
;<code>CLEAR WINDOW</code>: Clear the console window. | |||
;< | |||
CLEAR | |||
EXIT | |||
LIST | |||
LOG | |||
LS | |||
SETCON | |||
STS | |||
STX | |||
USE | |||
Revision as of 15:42, 20 January 2016
The Console is a command line interface to an STx shell. It can be started from the Script Controller or the menu entry "Run > BScript" of the log window.
- The Console can
- process commands on a line by line basis
- process multiple commands pasted from the clipboard
- maintain a command history; you can use the up/down keys to navigate to commands and the tab key for command completion
- The Console cannot
- process STx control commands like IF, FOR, DO, WHILE, BREAK and CONTINUE
Special Commands implemented by the Console Application
CD
PWD
- Show the current directory.
- result: the full path of the current directory
CD dir
PWD dir
- Set the current directory to dir
- result: the full path of the current directory or an empty string if the command fails
CD /diropt
PWD /diropt
- Set the current directory to the path selected by the option diropt.
- /Work &larrow STx working directory
CLS
CLEAR WINDOW
- Clear the console window.
- <
CLEAR EXIT LIST LOG LS SETCON STS STX USE
- See also