|
Hello,
Yes, it is possible to run Interview.exe with pre-defined input .sur and output .ans filenames. Just run from the command line
Interview.exe <SURVEY_FILENAME> <OUTPUT_ANS_FILE> and user will not be prompted.
Using Interview.exe with command line parameters maybe difficult so I would recommend you to create the following script:
1) Open Notepad.exe and copy into it the code:
set objFSO = CreateObject("Scripting.FileSystemObject")
i = 1
s = i & ".ans"
do while objFSO.FileExists(S)
i = i + 1
s = i & ".ans"
loop
set wshell = CreateObject("WScript.Shell")
s = "Interview.exe " & "demo.sur" & " " & s
wshell.run s
2) Replace in the above code "demo.sur" with the name of your actual survey file and save the file as Survey.vbs in the same directory where Interview.exe and your survey file are located.
3) In order to run the survey, just double-click on the file Survey.vbs (or create a shortcut to that file on your desktop). It will launch Inteview.exe with correct parameters.
All the answers will be stored as unique files with names 1.ans, 2.ans, 3.ans,.... etc in the same directory as Interview.exe. Later you will be able to import all them into your database, corresponding to that survey.
|