Command line

The syntax for running Proteus depends on the version being considered:

Proteus Dos, Unix™, Win32

The command line is the following:

proteus [parameters] [program] [input|.|..] [output|.|..] ...

If the interpreter is run without arguments, it will print to the console a short summary explaining usage.

This is the meaning of each command line parameter:

-v
print interpreter version and quit
-h
short usage summary (just like running without arguments)
-c
sets error level to 0 if and only if the script syntax is correct; the program is not executed
-f
overwrite output, if it exists (mutually exclusive with -q)
-a
append to output, if it exists (mutually exclusive with -q)
-q
abort without overwriting output, if it exists (mutually exclusive with -f and -a)
-o
ignore output and write to standard output (PRINT[LN] like CONSOLE[LN], but using EOL as a terminator)
-z
set input/output to '..'; all parameters specified after the name of the program are considered user parameters
-i
ignore input and read data from standard input (mutually exclusive with -p)
-p
read program from standard input (ignore parameter program; mutually exclusive with -i)
-g
ignore unknown directives
-j
look for the script in the paths specified in the environment variable PATH
-k
Unix™: replace '\' with '/' in file names
Dos/Windows™: replace '/' with '\' in file names
-x
load program from the line "#!..proteus..", ignoring everything before this line
-dn
date format; n can be 0 (mm/dd/yyyy), 1 (dd/mm/yyyy), 2 (yyyy/mm/dd)
-tn
time format; n can be 0 (24 hours) or 1 (12 hours)
-en
epoch (for interpreting dates with years expressed in two digits)
-ws
set access rights for output (see predefined variable FILE_MASK)
-ls
value for predefined variable EOL (line terminator for writing to output; can include C-like constants)
-bs
value for predefined variable CEOL (line terminator for writing to console; can include C-like constants)
-rs
value for predefined variable EEOL (line terminator for writing to standard error channel; can include C-like constants)
-ns
define the label s (case sensitive)
-us
remove the definition of label s (case sensitive)
-ss
use string s as default extension for output
-ms
use string s as predefined value for MONTHS
-ys
use string s as predefined value for DAYS
-$ verify the authenticity of a .prk file (set of keys for a protected program) and exit
-! wait for a keypress before returning control to the operating system when the program ends

Predefined values are:

Note:

Proteus ISAPI

There is no command line for this version.

Proteus Service

The command line is the following:

proteus [parameters] [program]

When run without arguments, Proteus prints out to console a short usage summary.

This is the meaning of the command line parameters:

-install
install Proteus Service
-remove
remove an installed service
-debug
run the service as a console application; program file, if not specified, will be read from registry key. Remember to accurately test and debug a script to be run as a service, especially if it is going to be run when system starts ("Automatic" service; see Windows™ Help for details: Control Panel, Administrative Tools, Services, Proteus Service properties).

 

Start of page Next topic Previus topic Contents Index
Midnight Lake iPhone Case Black Women Shoes Black Flat Shoes Leather Flats Black Patent Ballerinas Black Ballet Shoes Casual Shoes Black Shoes Women Balle Record Player Cufflinks Best iPhone XR Clear Cases iPhone XS/XS Max Leather Cases Sale Best iPhone 8/8 Plus Silicone Cases iPhone 7/7 Plus Cases & Screen Protector New Cases For iPhone 6/6 Plus iPhone 8 Case Sale iPhone Xr Case Online iPhone 7 Case UK Online iPhone X Case UK Sale iPhone X Case Deals iPhone Xs Case New Case For iPhone Xr UK Online Case For iPhone 8 UK Outlet Fashion Silver Cufflinks For Men Best Mens Cufflinks Outlet Online The Gold Cufflinks Shop Online Cheap Shirt Cufflinks On Sale Nice Wedding Cufflinks UK Online Top Black Cufflinks UK Online Mens Cufflinks Online Silver Cufflinks For Men Men Cufflinks UK Sale Gold Cufflinks UK Online Gold Cufflinks UK Silver Cufflinks UK Shirt Cufflinks Discount Online Mens Cufflinks Deals & Sales Girls Shoes For Dance Fashion Ballet Dance Shoes Best Ballet Flats Shoes UK Online Cheap Ballet Pointe Shoes UK Online Best Ballet Shoes Outlet Best Dance Shoes Sale Cheap Ballet Flats Sale UK Best Pointe Shoes Online UK Ballet Dance Shoes UK Shoes For Dance UK Best Ballet Slippers Shop Best Yoga Shoes Hotsell