<?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 a batch file on the server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217429#M70637</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 want to execute a batch file on the server via a macro. I'm not used to create macro so i check the forum in order to find my response and i've found this subjet :&lt;/P&gt;&lt;P&gt;Server Side macro : h&lt;A href="https://community.qlik.com/forums/t/22605.aspx" target="_blank" title="Server Side macro"&gt;ttp://community.qlik.com/forums/t/22605.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i try to execute the code below&lt;/P&gt;&lt;PRE style="margin: 0px;"&gt;sub launchbatPlain&lt;BR /&gt;Set objshell = createobject("Wscript.Shell")&lt;BR /&gt;sCmd = Chr(34) &amp;amp; "\\server\folder\mybatch.bat " &amp;amp; Chr(34)&lt;BR /&gt;objshell.Run(sCmd), 0, False&lt;BR /&gt;end sub&lt;BR /&gt;&lt;BR /&gt;Is there something wrong in this macro ?&lt;BR /&gt;&lt;BR /&gt;Thanks for answer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 10:35:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-08T10:35:54Z</dc:date>
    <item>
      <title>Execute a batch file on the server</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217429#M70637</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 want to execute a batch file on the server via a macro. I'm not used to create macro so i check the forum in order to find my response and i've found this subjet :&lt;/P&gt;&lt;P&gt;Server Side macro : h&lt;A href="https://community.qlik.com/forums/t/22605.aspx" target="_blank" title="Server Side macro"&gt;ttp://community.qlik.com/forums/t/22605.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i try to execute the code below&lt;/P&gt;&lt;PRE style="margin: 0px;"&gt;sub launchbatPlain&lt;BR /&gt;Set objshell = createobject("Wscript.Shell")&lt;BR /&gt;sCmd = Chr(34) &amp;amp; "\\server\folder\mybatch.bat " &amp;amp; Chr(34)&lt;BR /&gt;objshell.Run(sCmd), 0, False&lt;BR /&gt;end sub&lt;BR /&gt;&lt;BR /&gt;Is there something wrong in this macro ?&lt;BR /&gt;&lt;BR /&gt;Thanks for answer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 10:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217429#M70637</guid>
      <dc:creator />
      <dc:date>2010-07-08T10:35:54Z</dc:date>
    </item>
    <item>
      <title>Execute a batch file on the server</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217430#M70638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it's possible to execute server-side directly. You'll have to use one of the workarounds discussed in the other thread.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 00:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217430#M70638</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-07-09T00:15:04Z</dc:date>
    </item>
    <item>
      <title>Execute a batch file on the server</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217431#M70639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just thinking out loud here...&lt;/P&gt;&lt;P&gt;If your batch script is stored on the server - and it has to be "fired" off via a QV app - can you not just load the URL into an Add Action (External) that is triggered OnPostReload in the Document Properties/Triggers ?&lt;/P&gt;&lt;P&gt;The QV can then be scheduled to reload as and when ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 07:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-a-batch-file-on-the-server/m-p/217431#M70639</guid>
      <dc:creator />
      <dc:date>2010-07-09T07:04:49Z</dc:date>
    </item>
  </channel>
</rss>

