<?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 Macro to run exe in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-run-exe/m-p/195757#M56138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found my error.&lt;/P&gt;&lt;P&gt;the program I was trying to run was in a folder with spaces so more like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;shell.run "C:\a folder\program.exe"&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;so I needed to add quotes around the file path.&lt;/P&gt;&lt;P&gt;solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;shell.run chr(34) &amp;amp; "C:\a folder\program.exe" &amp;amp; chr(34)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Sep 2010 22:17:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-09T22:17:35Z</dc:date>
    <item>
      <title>Macro to run exe</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-run-exe/m-p/195756#M56137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to run an executable from a QlikView macro but the macro stops at the run line with no error message. My Requested Module Security is set to System Access and the Current Local Security is set to Allow System Access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt; Set shell = CreateObject("WScript.Shell")&lt;BR /&gt; shell.Run "C:\Program.exe"&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Why does the macro just stop?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 21:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-run-exe/m-p/195756#M56137</guid>
      <dc:creator />
      <dc:date>2010-09-09T21:57:06Z</dc:date>
    </item>
    <item>
      <title>Macro to run exe</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-run-exe/m-p/195757#M56138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found my error.&lt;/P&gt;&lt;P&gt;the program I was trying to run was in a folder with spaces so more like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;shell.run "C:\a folder\program.exe"&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;so I needed to add quotes around the file path.&lt;/P&gt;&lt;P&gt;solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;shell.run chr(34) &amp;amp; "C:\a folder\program.exe" &amp;amp; chr(34)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 22:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-run-exe/m-p/195757#M56138</guid>
      <dc:creator />
      <dc:date>2010-09-09T22:17:35Z</dc:date>
    </item>
  </channel>
</rss>

