RunDirectory(directory)
Where:
directory | is a directory. Enclose the directory in double quotation marks ("") if it contains embedded spaces or commas. directory may be variable containing a directory name. |
The RunDirectory command specifies the working directory for the application started by the run command. This is useful for applications that use a working directory for their files.
Examples
RunDirectory("c:\program files\data")
RunDirectory(c:\test\data)
RunDirectory($DIRECTORY)
The following script starts the program test.exe with a working directory of c:\program\data.
Sample Script
' This script starts the program test.exe
' with a working directory of c:\program\data.
'
RunDirectory(c:\program\data)
Run(c:\program\test.exe)
exit
See Also:
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.