<?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 with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355366#M416040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried checking this option in Setting-&amp;gt;User preference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168026_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Jun 2017 08:17:16 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-06-25T08:17:16Z</dc:date>
    <item>
      <title>Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355365#M416039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to delete the CSV files in particular folder using Execute command but it is not deleting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following scenarios which I tried,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S1:&lt;/P&gt;&lt;P&gt;EXECUTE CMD.EXE /C del "$(v_Fldr_MTR_RDG_CSV)COMED_MTR_RDG_*.csv";&lt;/P&gt;&lt;P&gt;EXIT Script;&lt;/P&gt;&lt;P&gt;S2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EXECUTE CMD.EXE /C del "$(v_Fldr_MTR_RDG_CSV)COMED_MTR_RDG_*.csv";&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EXIT Script;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;S3:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EXECUTE CMD.EXE /C del "&lt;SPAN style="font-size: 13.3333px;"&gt;..\..\..\Shared\Shared_Common_Files\Static_Data\&lt;/SPAN&gt;COMED_MTR_RDG_*.csv";&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EXIT Script;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Also I have enabled the below options&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="option_01.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168024_option_01.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Note: The variable contains folder path location ..\..\..\Shared\Shared_Common_Files\Static_Data\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the above script in QMC it is deleting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrance A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 00:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355365#M416039</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2017-06-25T00:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355366#M416040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried checking this option in Setting-&amp;gt;User preference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168026_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 08:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355366#M416040</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-25T08:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355367#M416041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Same user running the qmc service as when you are running QV Desktop? If not, your user has perhaps not the correct file/folder access?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 11:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355367#M416041</guid>
      <dc:creator>RSvebeck</dc:creator>
      <dc:date>2017-06-25T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355368#M416042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chawda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, It is in enabled state but not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrance A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 16:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355368#M416042</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2017-06-25T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355369#M416043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Svebeck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I missed one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I give full path without storing variable and without using ..\..\..\Share\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example,&lt;/P&gt;&lt;P&gt;I got output when using below mentioned script but I need to do in variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EXECUTE CMD.EXE /C del "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;E:\Source\Shared\Shared_Common_Files\Static_Data\&lt;/SPAN&gt;COMED_MTR_RDG_*.csv";&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EXIT Script;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Lawrance A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 16:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355369#M416043</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2017-06-25T16:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355370#M416044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try this: I mean without Quotes while reading from variable. And is your E a shared drive or a local drive on the server. IF it is a shared drive you might have to use actual drive name like \\sharedfile\Source\......; some thing like this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET v_Fldr_MTR_RDG_CSV = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;E:\Source\Shared\Shared_Common_Files\Static_Data\&lt;/SPAN&gt;'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EXECUTE CMD.EXE /C del&amp;nbsp; $(v_Fldr_MTR_RDG_CSV)COMED_MTR_RDG_*.csv;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EXIT Script;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 17:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355370#M416044</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-25T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355371#M416045</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;I have tried but in Variable overview not in Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrance A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 17:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355371#M416045</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2017-06-25T17:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355372#M416046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE CMD.EXE /C del $(v_Fldr_MTR_RDG_CSV)"COMED_MTR_RDG_*.csv";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT Script;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 17:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355372#M416046</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2017-06-25T17:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355373#M416047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does not matter did you give a try ? Is it still not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 17:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355373#M416047</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-25T17:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355374#M416048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhaskar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the output which which I'm expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried below scenario and got output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EXECUTE CMD.EXE /C del $(v_Fldr_MTR_RDG_CSV)"COMED_MTR_RDG_*.csv";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;EXIT Script;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Also update the variable in variable overview.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;v_Fldr_MTR_RDG_CSV = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;E:\Source\Shared\Shared_Common_Files\Static_Data\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now, it is working fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks for all your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Lawrance A&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 18:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355374#M416048</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2017-06-25T18:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Command with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355375#M416049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try without the quotes, it worked for me without Quotes. Just checking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Jun 2017 20:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Command-with-variable/m-p/1355375#M416049</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-06-25T20:50:57Z</dc:date>
    </item>
  </channel>
</rss>

