Run - run an application

Return to Introduction  Previous page  Next page

run(filename{,HIDDEN | MINIMIZED | MAXIMIZED})

Where:

filenameis the full file name, including drive letter and path, of an application or batch file. Enclose the filename in double quotation marks ("") if it contains embedded spaces or commas. You can append command line parameters to the filename on the Run script command (within the double quotes, separated by a space). filename may be a variable containing the full filename of an application or batch file.
HIDDENrun the application with its window hidden.
MINIMIZEDrun the application with its window minimized.
MAXIMIZEDrun the application with its window maximized.

 

filename may be a variable.

 

The run command runs the specified application or batch file. filename may specify a .com, .exe, .bat or .pif file.

Examples

run("c:\batch\tasks job.bat")

run(c:\skey.exe,MINIMIZED)

run($PROGRAM,HIDDEN)

run("C:\Program Files\SDI\TN3270 Plus\tn3270.exe mainframe")

 

See Also:

 

Script Command Summary

Script Variables

Using the Scripting Language


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.