VoiceGuide IVR Software Main Page
Jump to content

Echo Syntax Problem

Recommended Posts

I'm trying to run this command below from the Run module and it's not working correctly. I believe the redirect <> characters are causing this commandline problems when ran from Voiceguide. Running this Echo command directly from the c: prompt works so it appears this is the case. You'll notice the ^ symbol before each <> character. This instructs Echo to ignore the redirect symbols as "commands" and allows them to be echoed to the file. I'm hoping that Voiceguide can be made to recognize the ^ symbol as part of the syntax like the actual echo command does. Thanks.

 

Command Used: command.com /c echo ^<wml^>^<card id="card1" title="Image in WML"^>^<p align="center" mode="wrap"^> > e:\test.txt

 

Link to Echo Syntax: http://www.microsoft.com/resources/documen...s.mspx?mfr=true

Share this post


Link to post

Looking at the trace log from v6 shows that VoiceGuide does try to run the command without modification:

 

164311.30 1 state [Run Program 1] Run Program

164311.30 1 run=command.com /c echo ^<wml^>^<card id="card1" title="Image in WML"^>^<p align="center" mode="wrap"^> > c:\test.txt, window=NormalFocus, wait=1

164311.42 1 Run Program waiting... (shellid=2576, process=4584)

 

However for some reason the echo input string is not interpreted as expected. It does look like the carets are not interpreted properly as sending a ^^ results in two carets being written to the output file.

 

Not sure why the carets are not being interpreted as expected by the echo program.

 

A workaround may be to write the file output from within a VBScript.

 

 

We tested the above in VoiceGuide v7 and it does echo the string to the file as expected.

Share this post


Link to post

Just place the order for v7 on our WWW order form and in the Comments text box indicate that you already have an existing license and that this is an upgrade. An appropriate credit for your existing license will be given.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×