Skip to main content
Topic: PROMPT command for user tool (Read 2557 times) previous topic - next topic

PROMPT command for user tool

Hello,
Do you know how to run user tools with PROMPT command ?
(i.e.  <PROMPT:filename?=*>php/php.exe scripts/myphp.php )
The PROMPT windows appears correctly but the command finished with "Command process failed" while the command by itself works correctly.

The next question is how to get entered values ?  Through ENV variables ?

Thanks for your help.

Re: PROMPT command for user tool

Reply #1
Ok , I found the solution
php/php.exe scripts/myphp.php <PROMPT:parm1=*> <PROMPT:parm2=*>
and we received them in argv

Re: PROMPT command for user tool

Reply #2
That's actually a NWC2 question.

Re: PROMPT command for user tool

Reply #3
For NWC2 discussion, please use the NWC2 Forum. The NWC2 User Tools section now includes an example of how to utilize the prompting mechanism.