VoiceGuide IVR Software Main Page
Jump to content

Incorrect Dos Version

Recommended Posts

I have a script setup that records keypuch when the user enters certain responses from a menu. At the end I try and record this into a text file. All that I am getting in the text file is incorrect dos version. I am running this with a Dialogic d/4pciu board on a windows 2000 server box. This worked before on a xp workstation. Any ideas on this one. Here is the script I am keying into the script line in your software.

 

command.com /c echo $RV_starttime, $RV_cidnumber, $RV[Get Printer Code]c >> c:\helpdesk.txt

Share this post


Link to post

Not sure what would be the cause of "incorrect dos version" errors - have you tried running

 

echo $RV_starttime, $RV_cidnumber, $RV[Get Printer Code]c >> c:\helpdesk.txt

 

from the DOS command line directly?

 

Another way to write out to a file is using the VBScript module.

Copy the below into a Run VB Script module:

 

Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8

Dim fso, tsFile
set fso = CreateObject("Scripting.FileSystemObject")
set tsFile = fso.OpenTextFile("c:\helpdesk.txt", ForAppending, True)
tsFile.WriteLine "$RV_starttime, $RV_cidnumber, $RV[Get Printer Code]c"
tsFile.Close
set tsFile = Nothing
set fso = Nothing

 

Using the VB Script module to write out to files is preferable anyway (esp on multi-line systems)

Share this post


Link to post

Got it working now. I created the scripts with an older version of Voice Guide on a windows xp machine. Then I transferred everything to a newer version of Voice Guide on a windows 2000 server. To resolve the problem I just recreated the scripts and they were ok.

 

Thanks for the info.

 

Chris...

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
×