<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Execute statement problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444091#M696646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;The string that will be executed is below. Will it work if you execute it manually in a command prompt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;c:\windows\system32\cscript.exe&lt;/STRONG&gt; C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would guess that the path including white spaces would require quotes in order to be executable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;c:\windows\system32\cscript.exe&lt;/STRONG&gt; "C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 06:50:12 GMT</pubDate>
    <dc:creator>ToniKautto</dc:creator>
    <dc:date>2013-04-12T06:50:12Z</dc:date>
    <item>
      <title>Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444089#M696644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey there, &lt;/P&gt;&lt;P&gt;i need to execute a vbs file directly from the load script of QV. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my actual code is this one: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET vCSCRIPT = c:\windows\system32\cscript.exe; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXECUTE $(vCSCRIPT) C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No errors are given but the file is not executing. The document has execute permissions and the vbs when manualy started works properly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JuanPedro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 07:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444089#M696644</guid>
      <dc:creator />
      <dc:date>2013-04-11T07:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444090#M696645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still not able to run .vbs with execute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My momentary workaround is to execute a .bat file that runs the .vbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont really like this solution so any hint is appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 05:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444090#M696645</guid>
      <dc:creator />
      <dc:date>2013-04-12T05:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444091#M696646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;The string that will be executed is below. Will it work if you execute it manually in a command prompt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;c:\windows\system32\cscript.exe&lt;/STRONG&gt; C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would guess that the path including white spaces would require quotes in order to be executable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #737373; font-family: Arial;"&gt;c:\windows\system32\cscript.exe&lt;/STRONG&gt; "C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 06:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444091#M696646</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2013-04-12T06:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444092#M696647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try calling Call "functionname()" in .vbs file.&amp;nbsp; also try to pipe the output to some text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. cscript myScript.vbs &amp;gt;&amp;gt; c:\scriptslog\log.txt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 08:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444092#M696647</guid>
      <dc:creator />
      <dc:date>2013-04-12T08:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444093#M696648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXECUTE cscript C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:00:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444093#M696648</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-04-12T13:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444094#M696649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with quotas it works ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET vCSCRIPT = 'c:\windows\system32\cscript.exe'; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXECUTE $(vCSCRIPT) "C:\Documents and Settings\user\Desktop\VB\Delete_first_X_lines_cycle.vbs";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 13:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444094#M696649</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-04-12T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Execute statement problem</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444095#M696650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The quotes did the job! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;P&gt;usefull the log file aswell. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks everyone for your time and anserws &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 08:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-statement-problem/m-p/444095#M696650</guid>
      <dc:creator />
      <dc:date>2013-04-15T08:27:25Z</dc:date>
    </item>
  </channel>
</rss>

