Terminal Emulator - RTE Vuser Functions (TE) > Alphabetical List of Functions > TE_run_script_file

TE_run_script_file

Example: TE_run_script_file Alphabetical Listing

Runs a PowerTerm script.

int TE_run_script_file( const char *filename );
filename The name of a file containing a PowerTerm Script Language (PSL) script.

TE_run_script_file runs a PSL script file.

For details on PSL, see the online help available from the PowerTerm emulator Help menu.

Return Values

This function returns 0 if it succeeds, and a negative error code if it fails. Italso sets the global variable TE_errno.

Parameterization

All string arguments (char type) can be parameterized using standard parameterization.