User Guide/STX Console: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(Created page with "{{UG_Workspace}} File:Console_dialog.png The Console is a command line interface to an {{STX}} shell. It can be started from the [[User_Guide/The_Script_Controller|Script...")
 
No edit summary
Line 13: Line 13:


===Special Commands implemented by the Console Application===
===Special Commands implemented by the Console Application===
;<code>CD</code> or <code>PWD</code>: show the current directory
:result: current directory
;<code>CD dir</code> or <PWD> dir</code>: set the current directory to '''dir'''
:result: the new current directory or an empty string if the command fails





Revision as of 15:16, 20 January 2016

Console dialog.png

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
  1. process commands on a line by line basis
  2. process multiple commands pasted from the clipboard
  3. 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
  1. process STx control commands like IF, FOR, DO, WHILE, BREAK and CONTINUE

Special Commands implemented by the Console Application

CD or PWD
show the current directory
result: current directory
CD dir or <PWD> dir
set the current directory to dir
result: the new current directory or an empty string if the command fails


exit
cls|clear
cd
pwd
ls
log
list
setcon
stx
sts
use


See also

Programmer Guide

Navigation menu

Personal tools