Special Parameter for Application

nnCron and nnCron LITE discussion

Special Parameter for Application

Postby swiss » Wed, 15 Aug 2007, 00:01

hi all,

i do have an application, which needs the following parameters:

START-APPW: BL.exe -t "test@hello.ch <my hello>" -s "helloserver"


Now, my problem is to send '<my hello>' to the application. nncron seems to cut everything off, this means, parameter '<my hello>' does not get sent to BL.exe.

Please advise!

Thanks

Mathias
swiss
 
Posts: 12
Joined: Mon, 11 Dec 2006, 14:41

Postby Valery_Kondakoff » Wed, 15 Aug 2007, 06:08

Try this:

Code: Select all
START-APPW: BL.exe -t %QUOTE%test@hello.ch <my hello>%QUOTE% -s %QUOTE%helloserver%QUOTE%


Does this works?
CU
VK
User avatar
Valery_Kondakoff
Site Admin
 
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia

Postby swiss » Wed, 15 Aug 2007, 07:47

No,

sorry, should have been more specific. This is what i have been trying and everyting within <..> does get cut off.

Thanks.

Mathias
swiss
 
Posts: 12
Joined: Mon, 11 Dec 2006, 14:41

Postby Valery_Kondakoff » Wed, 15 Aug 2007, 09:16

Can you just replace the <...> with square brackets [...]? Or try to escape the angle brackets like this: \<...\>
CU
VK
User avatar
Valery_Kondakoff
Site Admin
 
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia

Postby swiss » Wed, 15 Aug 2007, 11:02

Valery,

tried this, no luck, as smtp specifies:

-from "This is my name listed <authentication@test.ch>"

Therefore, brackets can not be replaced and have to be used as above. Any other suggestions?

Thank you!

Mathias
swiss
 
Posts: 12
Joined: Mon, 11 Dec 2006, 14:41

Postby Valery_Kondakoff » Wed, 15 Aug 2007, 11:53

I still cannot reproduce this on my PC. For example, when I'm executing this command, the text between angle brackets is not disappearing:

Code: Select all
START-APPW: cmd.exe /c echo "This is my name listed <authentication@test.ch>" > c:\test.txt


So, just try to play with quotes. For example:

Code: Select all
START-APPW: "BL.exe -t %QUOTE%test@hello.ch <test@hello.ch>%QUOTE% -s %QUOTE%helloserver%QUOTE%"


or

Code: Select all
START-APPW: BL.exe "-t %QUOTE%test@hello.ch <test@hello.ch>%QUOTE% -s %QUOTE%helloserver%QUOTE%"
CU
VK
User avatar
Valery_Kondakoff
Site Admin
 
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia


Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 2 guests

cron