When you supply a module name to wtreqinfo for execution after user input in a prompt box, you can add switches to the module by appending a forward slash ("/") to the module name and then entering the subswitch string. There must be no spaces between the module name and forward slash or forward slash and subswitch string, or in the subswitch string itself.
Currently, the only subswitch supported by wtreqinfo is the letter "s", which causes wtreqinfo to enclose the user's input in double quotes if it contains spaces. This enables the module to access the information entirely in the first command line parameter. By default, spaces in the user's input result in multiple command line arguments being passed to the execution module, one word in each.
For example:
"wtreqinfo.exe /Tdinner.cmd "What did you have for dinner?"".
If the user enters:
"Fish and chips",
"dinner.cmd" would access this information in %1 (Fish), %2 (and) and %3 (chips). But:
"wtreqinfo.exe /Tdinner.cmd/s "What did you have for dinner?"".
"dinner.cmd" would access the same input in just %1 ("Fish and chips").
Page url: http://wtcmanual.wintextware.com/index.html?wtri_text_input_subswitches.htm