To open a file in its normal Windows program, for example a .doc file in your word processor or a .txt file in your text editor, simply specify the filename and/or path on the "wtscript" command line:
"wtscript.exe c:\WintextCom\readme.txt".
That is, to just open a file, there is one command line parameter, the required path to the file. Enclose it in quotes if it contains spaces.
This syntax is also used to open a web page. Just include the URL on the command line instead of a local filename, and your computer will open the dial-up window or just log onto the Internet to display the page, depending on your system setup.
You can run a program in the same way. If you wish to specify command line parameters to the program, include them in a second command line parameter to "wtscript", again in quotes if there are spaces.
A third command line parameter can be used to specify the startup folder for the program. Note that if you want to specify a startup folder but there are no parameters, include a null string ( "" ) as the second parameter.
Page url: http://wtcmanual.wintextware.com/index.html?lps_openingafilewebpageorpr.htm