<?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 How to catch EXECUTE command errors/messages. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001049#M649327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to retrieve the error message that cmd.exe gives when I run this sentence in my QV script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C del "H:\file.csv" /q;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My point is that the file could be opened by a third party then the file would not be deleted, and no error or message will be return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ginés.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 11:30:03 GMT</pubDate>
    <dc:creator>gines_rueda</dc:creator>
    <dc:date>2015-09-09T11:30:03Z</dc:date>
    <item>
      <title>How to catch EXECUTE command errors/messages.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001049#M649327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to retrieve the error message that cmd.exe gives when I run this sentence in my QV script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C del "H:\file.csv" /q;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My point is that the file could be opened by a third party then the file would not be deleted, and no error or message will be return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ginés.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 11:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001049#M649327</guid>
      <dc:creator>gines_rueda</dc:creator>
      <dc:date>2015-09-09T11:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to catch EXECUTE command errors/messages.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001050#M649328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with&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;EXECUTE cmd.exe /C&amp;nbsp; &lt;/SPAN&gt;del "yourfile" /q&amp;nbsp; 2&amp;gt;&amp;nbsp; delete.err;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error should be written in the file delete.err&lt;/P&gt;&lt;P&gt;and then you can read (if exists) the file with Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 11:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001050#M649328</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-09T11:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to catch EXECUTE command errors/messages.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001051#M649329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nicer if this is captured by qlikview, but thanks, it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 13:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-catch-EXECUTE-command-errors-messages/m-p/1001051#M649329</guid>
      <dc:creator>gines_rueda</dc:creator>
      <dc:date>2015-09-11T13:54:40Z</dc:date>
    </item>
  </channel>
</rss>

