<?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 command does not work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899235#M1217672</link>
    <description>&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It looks like you may have missed some steps.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 11:04:50 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-03-02T11:04:50Z</dc:date>
    <item>
      <title>Execute command does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899206#M1217671</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to execute some commands on operating system using the execute command and yet I do not get it executed. I get the message:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;EXECUTE statement requires Script (Allow Database Write and Execute Statements) in User Preferences settings&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;EXECUTE cmd.exe/c chdir C:\Users\wkiv1150\Desktop\BICC\08226000-00-02\DATA&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;set vPath = "C:\Users\wkiv1150\Desktop\BICC\08226000-00-02\DATA";&lt;BR /&gt;EXECUTE cmd.exe/c chdir $(vPath); &lt;BR /&gt;Execute cmd.exe/c findstr /V /R "FeldFesteLaenge" Artikel-Stammdaten_SAP.txt &amp;gt; Artikel-Stammdaten_SAP1.txt;&lt;BR /&gt;EXIT SCRIPT;&lt;/P&gt;
&lt;P&gt;I set the properties of the tab as follow:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="draghici1109_0-1646216377799.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73361iD44A6D69976DD44D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="draghici1109_0-1646216377799.png" alt="draghici1109_0-1646216377799.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 10:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899206#M1217671</guid>
      <dc:creator>draghici1109</dc:creator>
      <dc:date>2022-03-02T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Execute command does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899235#M1217672</link>
      <description>&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Execute.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It looks like you may have missed some steps.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899235#M1217672</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-02T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Execute command does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899252#M1217673</link>
      <description>&lt;P&gt;Thank you! Indeed I missed following settings on my desktop QlikView:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;On &lt;SPAN class="CommonComponentsQVDesktopName"&gt;QlikView Desktop&lt;/SPAN&gt; Start Page, click the &lt;SPAN class="ui_item"&gt;Settings&lt;/SPAN&gt; drop-down menu and select &lt;SPAN class="ui_item"&gt;Users Preferences...&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;On the &lt;SPAN class="ui_item"&gt;Security&lt;/SPAN&gt; tab, select &lt;SPAN class="ui_item"&gt;Script (Allow Database Write and Execute Statements)&lt;/SPAN&gt; to enable the security override.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="note"&gt;&lt;SPAN class="sr-only"&gt;Information note&lt;/SPAN&gt;The &lt;SPAN class="ui_item"&gt;Script (Allow Database Write and Execute Statements)&lt;/SPAN&gt; setting must always be enabled if you want to allow Execute statements in the script. &lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/User_Preferences_Security.htm" target="_blank"&gt;&lt;BR /&gt;&lt;/A&gt;See: &lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/User_Preferences_Security.htm" target="_blank"&gt; User Preferences: Security &lt;/A&gt;&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Open the &lt;SPAN class="CommonComponentsQlikView"&gt;QlikView&lt;/SPAN&gt; document in which you want to perform the &lt;SPAN class="statement"&gt;Execute&lt;/SPAN&gt; statement, and open the &lt;SPAN class="ui_item"&gt;Script Editor&lt;/SPAN&gt; by selecting &lt;SPAN class="ui_item"&gt;Edit Script...&lt;/SPAN&gt; from the &lt;SPAN class="ui_item"&gt;File&lt;/SPAN&gt; drop-down menu.&lt;/LI&gt;
&lt;LI&gt;In the lower part of the Script Editor window, go to the &lt;SPAN class="ui_item"&gt;Settings&lt;/SPAN&gt; tab and select &lt;SPAN class="ui_item"&gt;Can Execute External Programs&lt;/SPAN&gt;.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-command-does-not-work/m-p/1899252#M1217673</guid>
      <dc:creator>draghici1109</dc:creator>
      <dc:date>2022-03-02T11:48:53Z</dc:date>
    </item>
  </channel>
</rss>

