Box 24

 Home   Infos   Tipps   Webmail   Humor   Polizei   Gästebuch   Downloads   Chat   Suchen   Feedback   Links 

 

 Anmelden/Login   Neuanmeldung/New User   Java Telnet Applet   Telnet   
 

wcRun Parameter

Long parameters

(since 5.3.448.4)

Fixed up wcRun command line switch options so that long parameters with spaces can be passed to the wcx applications if surrounded by quotes.

Example

wcRun -r "test prog.wcx" p1 p2 p3 "P4 is a long string"

The "test prog.wcx" application will now see the paramstr(i) strings as:

paramstr(1) = "p1"
paramstr(2) = "p2"
paramstr(3) = "p3"
paramstr(4) = "P4 is a long string"

Previously, the 4th parameter would had been broken up into 5 parameters.

Output redirection

(since 5.4.449.5)

It is now possible to redirect output to a file using the redirection ">" character like so:

wcRun -r reportmaker.wcx > report.log

You will not see anything on the screen when output is redirected.

Note

  1. Input redirection "<" is not supported.
  2. Output redirection is best used for non-interactive wcx applications, programs which do not wait for user input.

© 2000/2001 Hector Santos, http://www.santronics.com