<?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 Execute CommandLine string with Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-CommandLine-string-with-Variable/m-p/320368#M1192175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to execute a commandline with a variable in the string?&amp;nbsp; I am looking at whether QlikView can handle scheduling a daily unzip and load.&amp;nbsp; I need to be able to dynamically define the filename (which I have no control over) to extract the daily zip file that is being dropped into a FTP folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vYesterday = Today() - 1;&lt;BR /&gt;Let vPath = '\\Server\Folder\transaction_' &amp;amp; Date(vYesterday, 'YYYYMMDD') &amp;amp; '000105_2155.csv.zip';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE c:\7za x vPath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result should be a commandline like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;EXECUTE c:\7za x &lt;A href="https://community.qlik.com/"&gt;\\Server\Folder\transaction_20110624000105_2155.csv.zip&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 18:50:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-24T18:50:14Z</dc:date>
    <item>
      <title>Execute CommandLine string with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-CommandLine-string-with-Variable/m-p/320368#M1192175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to execute a commandline with a variable in the string?&amp;nbsp; I am looking at whether QlikView can handle scheduling a daily unzip and load.&amp;nbsp; I need to be able to dynamically define the filename (which I have no control over) to extract the daily zip file that is being dropped into a FTP folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vYesterday = Today() - 1;&lt;BR /&gt;Let vPath = '\\Server\Folder\transaction_' &amp;amp; Date(vYesterday, 'YYYYMMDD') &amp;amp; '000105_2155.csv.zip';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE c:\7za x vPath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result should be a commandline like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;EXECUTE c:\7za x &lt;A href="https://community.qlik.com/"&gt;\\Server\Folder\transaction_20110624000105_2155.csv.zip&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 18:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-CommandLine-string-with-Variable/m-p/320368#M1192175</guid>
      <dc:creator />
      <dc:date>2011-06-24T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Execute CommandLine string with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-CommandLine-string-with-Variable/m-p/320369#M1192176</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; Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Let vYesterday = Today() - 1;&lt;BR /&gt;Let vPath = '\\Server\Folder\transaction_' &amp;amp; Date(vYesterday, 'YYYYMMDD') &amp;amp; '000105_2155.csv.zip';&lt;/P&gt;&lt;P&gt;Let vPathFinal = 'c:\7za x' &amp;amp; $(vPath)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE $(vPathFinal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Hope this will work&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, 24 Jun 2011 19:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-CommandLine-string-with-Variable/m-p/320369#M1192176</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-06-24T19:36:57Z</dc:date>
    </item>
  </channel>
</rss>

