﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Batch Script Error</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 23 Sep 2026 18:18:05 GMT</lastBuildDate><ttl>20</ttl><item><title>Batch Script Error</title><link>https://forums.millisecond.com/Topic18436.aspx</link><description>Hi,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Quick question involving batch element script. I'm combining four scripts (3 surveys and 1 experiment), I did not write the survey scripts, but I do have them in the same folder as the experiment.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file="Questionnaire A Blocks.iqx"&lt;br/&gt;/ file="Questionnaire B Blocks.iqx"&lt;br/&gt;/ file="Questionnaire C Blocks.iqx"&lt;br/&gt;/ file="experiment 7.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;When trying to run it I am getting this error...&lt;br/&gt;&lt;br/&gt;"Could not find a valid encoding for: '/Users/Nick/Documents/Research Work/Questionnaire A Blocks.iqx'."&lt;br/&gt;&lt;br/&gt;All the other scripts are working. Its just this script. &lt;br/&gt;Any suggestions?</description><pubDate>Sun, 28 Feb 2016 15:48:30 GMT</pubDate><dc:creator>nonamenick</dc:creator></item><item><title>RE: Batch Script Error</title><link>https://forums.millisecond.com/Topic18441.aspx</link><description>To provide some background: The encoding of "legacy" Inquisit 3 (and below) *.exp files and the newer Inquisit 4 (and above) *.iqx files is different. *.exp are encoded according to the system's code page (cf. &lt;a href="https://en.wikipedia.org/wiki/Code_page"&gt;https://en.wikipedia.org/wiki/Code_page&lt;/a&gt; ) which is what describes the character set that's used by the file. *.iqx files, on the other hand, are Unicode-encoded (&lt;a href="https://en.wikipedia.org/wiki/Unicode"&gt;https://en.wikipedia.org/wiki/Unicode&lt;/a&gt; , specifically UTF-8).&lt;br/&gt;&lt;br/&gt;&amp;gt; The original file was .exp and I had changed it to .iqx. I changed it back to .exp and it works fine.&lt;br/&gt;&lt;br/&gt;The error you observed occurred because the *.iqx extension made Inquisit expect an UTF-8 encoded file, while the file actually used a different (code page based) character set / character encoding. This doesn't necessarily happen with every *.exp whose extension has been changed to *.iqx. It ultimately depends on the characters used throughout the respective file and whether their encoding matches the encoding those characters *would have* under UTF-8 or not.&lt;br/&gt;&lt;br/&gt;To convert a legacy *.exp to *.iqx properly, open the *.exp file in Inquisit 4 Lab (or above) and select File -&amp;gt; Save As... and pick "Inquisit 4/5 script (*.iqx)" as type.&lt;br/&gt;&lt;br/&gt;Hope this clarifies.&lt;br/&gt;</description><pubDate>Sun, 28 Feb 2016 15:48:30 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Batch Script Error</title><link>https://forums.millisecond.com/Topic18440.aspx</link><description>The original file was .exp and I had changed it to .iqx. I changed it back to .exp and it works fine. It is confusing that when I changed the other two files from .exp to .iqx that there was no problem. Anyways, the problem seems to be fixed now.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Thanks.&amp;nbsp;</description><pubDate>Sun, 28 Feb 2016 09:30:11 GMT</pubDate><dc:creator>nonamenick</dc:creator></item><item><title>RE: Batch Script Error</title><link>https://forums.millisecond.com/Topic18437.aspx</link><description>The error means the encoding of the file "Questionnaire A Blocks.iqx" is botched -- Inquisit doesn't know how to read it. This can happen if you edit scripts with other applications, i.e., not Inquisit Lab. If the file is salvageable, you may be able to open it in a simple text editor (e.g. Notepad under Windows). From there, save the file with UTF-8 as the encoding. &lt;br/&gt;&lt;br/&gt;If you can't get this to work yourself, attach the file to this thread (click +Insert -&amp;gt; Add File...) and I'll take a look at it.&lt;br/&gt;</description><pubDate>Fri, 26 Feb 2016 10:06:15 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>