<?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: Delete xls files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971368#M332507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can run windows command line commands from within the load script, have a look at EXECUTE in the Help.&lt;/P&gt;&lt;P&gt;The QV script line looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Execute cmd.exe /C "D:\YOURPATH\script.bat";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Instead of a batch file, you can call other windows commands, like DEL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You may need to allow the script to execute in script editor -&amp;gt; settings.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2015 19:00:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-10T19:00:48Z</dc:date>
    <item>
      <title>Delete xls files</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971367#M332506</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;I have a scenario with multiple xls files to load in QV. After the full load, the end user only want to charge the most recent file and delete the others. Can I automatically remove them &lt;SPAN style="font-size: 13.3333px;"&gt;since QV&lt;/SPAN&gt;? I have already identified the most recent file, I just need to clarify if the rest of the files can be removed &lt;SPAN style="font-size: 13.3333px;"&gt;directly &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from QV&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 17:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971367#M332506</guid>
      <dc:creator />
      <dc:date>2015-11-10T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete xls files</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971368#M332507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can run windows command line commands from within the load script, have a look at EXECUTE in the Help.&lt;/P&gt;&lt;P&gt;The QV script line looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Execute cmd.exe /C "D:\YOURPATH\script.bat";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Instead of a batch file, you can call other windows commands, like DEL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You may need to allow the script to execute in script editor -&amp;gt; settings.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 19:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971368#M332507</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-10T19:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete xls files</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971369#M332508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;FOR each _vsFile in 'a.xls', 'b.xls'&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SET _vsBatch = 'cmd.exe /C del "$(_vsFile)"&amp;nbsp; /Q';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; trace $(_vsBatch);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; EXECUTE $(_vsBatch);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NEXT;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 19:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971369#M332508</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-10T19:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Delete xls files</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971370#M332509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's for your answers.&lt;/P&gt;&lt;P&gt;I tried using this syntax, but QV execute the cmd.exe instead of script.bat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV:&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe C/ C:\script.bat;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script.bat is simple:&lt;/P&gt;&lt;P&gt;DEL /P "C:\Hola Mundo.txt"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 20:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971370#M332509</guid>
      <dc:creator />
      <dc:date>2015-11-10T20:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Delete xls files</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971371#M332510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not yet, worked ok for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C DEL /P "C:\Temp\test.txt";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 22:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971371#M332510</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-10T22:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Delete xls files</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971372#M332511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's... It's working now. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 11:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-xls-files/m-p/971372#M332511</guid>
      <dc:creator />
      <dc:date>2015-11-11T11:56:48Z</dc:date>
    </item>
  </channel>
</rss>

