<?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: Help on EXECUTE command in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508316#M190031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i know that when u&amp;nbsp; check the&amp;nbsp; " can execute external programs"&lt;/P&gt;&lt;P&gt;u will not get that error , but when u close the application or move to other place then it will start complaining.&lt;/P&gt;&lt;P&gt;So what u need to do is go to&amp;nbsp; Settings--&amp;gt;User Preferences--&amp;gt;Security--&amp;gt; then check the option&lt;/P&gt;&lt;P&gt;"Script( Allow database&amp;nbsp; write and execute statements") this will fix the problem forever..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.333333969116211px;"&gt;EXECUTE cmd.exe /c &lt;/SPAN&gt; MOVE&amp;nbsp; " soure folder path"&amp;nbsp; "Destination Folder path"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 15:30:09 GMT</pubDate>
    <dc:creator>shree909</dc:creator>
    <dc:date>2013-10-03T15:30:09Z</dc:date>
    <item>
      <title>Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508309#M190024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to know the logic and functionality of EXECUTE command. Looking into the Help, I am tring to Execute a Excel File like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXECUTE C:\MyFiles\QlikView Documents\SalesData.exe; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;First its asks with a Prompt like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="47195" alt="EXECUTE issue.png" class="jive-image" src="/legacyfs/online/47195_EXECUTE issue.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Finally its failing with and error: The EXECUTE statement requires the Execute flag to be set for the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;How to deal with these? Could you please help me in explaining the&amp;nbsp; Logic and Way to work with EXECUTE command&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508309#M190024</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-10-03T14:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508310#M190025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark that check to enable running external programs&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47196_Capturar.PNG.png" style="width: 620px; height: 161px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508310#M190025</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-03T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508311#M190026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the "Can execute external programs" in the script editor.&lt;IMG alt="can execute external programs.png" class="jive-image" src="/legacyfs/online/47190_can execute external programs.png" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508311#M190026</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2013-10-03T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508312#M190027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see...Thanks...Now its not asking for any prompt!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still its failing due to Syntax issue. What could be it?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;EXECUTE C:\MyFiles\QlikView Documents\SalesData.exe;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;SalesData is stored in an Excel File.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508312#M190027</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-10-03T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508313#M190028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Infact my requirement is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Excel Sheet in some shared folder. I have to COPY it to my Local folder and use that Excel in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what would be the&lt;STRONG&gt; syntax to write the EXECUTE command in QlikView to COPY from one location to another?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508313#M190028</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-10-03T14:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508314#M190029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a batch file and use the following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute "&amp;lt;absolute path to bat file&amp;gt;\&amp;lt;Filename&amp;gt;.bat"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508314#M190029</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2013-10-03T15:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508315#M190030</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;Does the command work fine if you run it explicitly from the cmd prompt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C COPY /Y "\\&amp;lt;IP Address&amp;gt;\c$\Qlikview\SourceDir\ABC.xls" "C:\QlikView\TargetDir\"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will copy ABC.xls from c:\Qlikview\SourceDir on server with IP address - &amp;lt;IP Address&amp;gt; to C:\QlikView\TargetDir\ of your local system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508315#M190030</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-10-03T15:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508316#M190031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i know that when u&amp;nbsp; check the&amp;nbsp; " can execute external programs"&lt;/P&gt;&lt;P&gt;u will not get that error , but when u close the application or move to other place then it will start complaining.&lt;/P&gt;&lt;P&gt;So what u need to do is go to&amp;nbsp; Settings--&amp;gt;User Preferences--&amp;gt;Security--&amp;gt; then check the option&lt;/P&gt;&lt;P&gt;"Script( Allow database&amp;nbsp; write and execute statements") this will fix the problem forever..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.333333969116211px;"&gt;EXECUTE cmd.exe /c &lt;/SPAN&gt; MOVE&amp;nbsp; " soure folder path"&amp;nbsp; "Destination Folder path"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508316#M190031</guid>
      <dc:creator>shree909</dc:creator>
      <dc:date>2013-10-03T15:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508317#M190032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abey/Shree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tested in CMD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it required to create Batch file for that? How to test in CMD? The same same above command will work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 06:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508317#M190032</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2013-10-04T06:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508318#M190033</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;Yes - you don't need a batch for this. You can include that line directly in your load script. Only change the path to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 07:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508318#M190033</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-10-04T07:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help on EXECUTE command</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508319#M190034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DMohanty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto user preferences - &amp;gt; Security -&amp;gt; script(Check this option)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you run your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Avinash Kuraku&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 05:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-EXECUTE-command/m-p/508319#M190034</guid>
      <dc:creator />
      <dc:date>2016-02-17T05:31:06Z</dc:date>
    </item>
  </channel>
</rss>

