<?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 Various Lines in same cmd sesion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8801#M606243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the Execute comand of QV in order to copy a file from one path to another but I have 2 problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- My path contains spaces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- My file has dinamical name such as Name(Date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- I have to set a proxy to acces to the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tryed to create a . bat file but since my path contains spaces and i have to create the file dinamicaly Is not possible. The reason is that QV is adding extra " on the path and then the console does not recognize it as a path. I have read &lt;A href="https://community.qlikview.com/thread/172863" title="https://community.qlikview.com/thread/172863"&gt;Extra double quotes when store as TXT | Qlik Community&lt;/A&gt; but using a .xml file i have then to convert it to .bat in order to use us it bu I can't do that becaus the path contains spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the simplest way to do this is with various lines in the same comand sesion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C set&amp;nbsp; ProxyVar=ProxyPath&lt;/P&gt;&lt;P&gt;ExacutableFile.bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible? There is a way to save the .bat file without the extra "?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 08:46:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-24T08:46:58Z</dc:date>
    <item>
      <title>Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8801#M606243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the Execute comand of QV in order to copy a file from one path to another but I have 2 problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- My path contains spaces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- My file has dinamical name such as Name(Date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- I have to set a proxy to acces to the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tryed to create a . bat file but since my path contains spaces and i have to create the file dinamicaly Is not possible. The reason is that QV is adding extra " on the path and then the console does not recognize it as a path. I have read &lt;A href="https://community.qlikview.com/thread/172863" title="https://community.qlikview.com/thread/172863"&gt;Extra double quotes when store as TXT | Qlik Community&lt;/A&gt; but using a .xml file i have then to convert it to .bat in order to use us it bu I can't do that becaus the path contains spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the simplest way to do this is with various lines in the same comand sesion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C set&amp;nbsp; ProxyVar=ProxyPath&lt;/P&gt;&lt;P&gt;ExacutableFile.bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible? There is a way to save the .bat file without the extra "?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 08:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8801#M606243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T08:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8802#M606245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try this: &lt;A href="https://community.qlik.com/message/713997"&gt;Re: Writing .bat file through script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 11:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8802#M606245</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-24T11:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8803#M606246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;you can concatenate your commands with &amp;amp;&amp;amp; so they execute in sequence only if the previous one succeeded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8803#M606246</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-24T12:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8804#M606248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; for your responses, both worked for the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;As for the &amp;amp;&amp;amp; which is what I wanted in order to ease the script I see 2 limitations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1- You can not use the a QV variable inside the execute so you have to whrite the absolut path (which is a problem)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2- All commands must be in the same line in order in order to be interpreted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The 1 limitation is something that is kind of a limitation for the &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌ solution because in order to execute the bat file I need to hardcode the path of the file.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8804#M606248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T08:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8805#M606250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the 1st point, when you construct your commanf, you can use the $() syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vPath='c:\temp';&lt;/P&gt;&lt;P&gt;execute 'cmd /c del' &amp;amp; $(vPath)&amp;amp;'\*.qvd';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8805#M606250</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-25T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8806#M606251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Three thoughts: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one - no outsourcing into an external bat-file else everything is executed directly from the qvw-script&lt;/P&gt;&lt;P&gt;two - switching the kind of batch-file to vbs might be useful to apply multiple actions&lt;/P&gt;&lt;P&gt;three - various parameters could be stored within text-files and read again from the batch-file to adress your dynamic requirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not quite the same but it might be nevertheless helpful: &lt;A href="https://community.qlik.com/message/1080663"&gt;Re: Stop Task from Command Line (cmd.exe)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 09:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8806#M606251</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-25T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8807#M606252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you test this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple ' are a problem for QV.&amp;nbsp; Even the script: EXECUTE 'cmd.exe /c pause'; Gives me a "General Error" in response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have an other problem with the &amp;amp;&amp;amp;. When I use a script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15246507994855353" jivemacro_uid="_15246507994855353"&gt;
&lt;P&gt;Execute cmd.exe pause &amp;amp;&amp;amp; copy FromPath ToPath &amp;amp;&amp;amp; pause&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works but when I set a variable (in my case a proxy) does not give me an error but it is also not coping the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15246507901015095" jivemacro_uid="_15246507901015095"&gt;
&lt;P&gt;Execute cmd.exe set HTTPS_PROXY=SomPath &amp;amp;&amp;amp; copy FromPath ToPath&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 10:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8807#M606252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T10:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8808#M606253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put the command into double quotes&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;execute "cmd.exe &lt;SPAN class="keyword"&gt;set&lt;/SPAN&gt; HTTPS_PROXY=$(SomPath) &amp;amp;&amp;amp; copy FromPath ToPath&amp;nbsp; "&lt;/P&gt;&lt;P&gt;assuming SomPath is a Qlik variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 10:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8808#M606253</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-25T10:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8809#M606254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tryed an it's not woerking, even if I use: execute "cmd.exe pause &amp;amp;&amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;copy FromPath ToPath" and is giving me "general error"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8809#M606254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T11:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8810#M606255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this syntax&lt;/P&gt;&lt;P&gt;execute cmd /c "your commands ..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;execute&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; cmd /c&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"pause &amp;amp;&amp;amp; pause"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8810#M606255</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-25T11:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8811#M606256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like QV does not like to concatenate the Set proxy statement because :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;execute&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; cmd /c&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"pause &amp;amp;&amp;amp; pause"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Works but not:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;execute&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; cmd /c&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"set&amp;nbsp; Proxy=ProxyWebPath &amp;amp;&amp;amp; pause"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 10:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8811#M606256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T10:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8812#M606257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the two variables are defined in your Windows environment ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 11:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8812#M606257</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-04-26T11:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Various Lines in same cmd sesion</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8813#M606258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finaly I got to a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Given a Bat File like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Proxy=ProxyWebPath&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;&lt;SPAN style="color: #800000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Copy&amp;nbsp; &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;FromPath\Filename&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;%1 &lt;STRONG style="color: #800000; font-size: 10.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FromPath\Filename&lt;/STRONG&gt;%1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where %1 is a variable that can be introduced to the .bat file after executing the bat file and with a space in between like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BatFilePaht\Document.bat VariableValue&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So the solution is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;Execute &lt;/STRONG&gt;cmd /c&amp;nbsp; " "BatFilePaht\Save.bat" $(vDateText) ";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank You both for your help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 08:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-Various-Lines-in-same-cmd-sesion/m-p/8813#M606258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-08T08:24:44Z</dc:date>
    </item>
  </channel>
</rss>

