Guest Chris Flynn Report post Posted 10/15/2003 06:16 PM 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
SupportTeam Report post Posted 10/16/2003 03:31 AM 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
Guest Chris Flynn Report post Posted 10/16/2003 06:00 PM 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