Example: TE_run_script_fileAlphabetical 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. It also sets the global variable TE_errno.


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