BASIC stamp manual v2.2
Using the BASIC Stamp Editor
Page 78 • BASIC Stamp Syntax and Reference Manual 2.2 • www.parallax.com
Another feature of interest to some developers is the BASIC Stamp
Editor’s Command Line interface. This interface provides for command
line, batch file or third-party driven control of the editor.
The Stampw.exe program is a Win32 application that can be run through
any standard method. When run with the command-line options,
however, it provides special features that developers and product
manufacturing managers may find useful. While this program can be run
from a command prompt on a Windows system, it will not work on a
DOS-only system.
The Stampw.exe supports redirection of its input and output via the
standard pipe mechanisms. If its output is redirected via the command-
line (ex: Stampw.exe myfile.bs2 > Test1.txt) the designated output file,
Test1.txt in this case, will be created and various information about the
processing of the source file will be stored there. This information directly
reflects the information available on the GUI prompts, interactions with
the user and downloading status. This feature can be combined with the
/NoDebug and /NoPrompts switches for various levels of GUI interaction
with the user; including completely hidden operation.
The following is the syntax of the BASIC Stamp Editor’s command-line
switches.
Stampw.exe {/Com#} {{/ReadOnly} source_file}
Stampw.exe {/Com#} /Download {/Updates}{/NoDebug}{/NoPrompts} source_file > output_file
Stampw.exe {/Com#} /Identify {/NoPrompts} > output_file
Stampw.exe /Tokenize source_file > output_file
Stampw.exe /Pipe master_file
Stampw.exe /Help
Table 3.9 gives a function description for each command-line switch.
COMMAND LINE INTERFACE.