<?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: Using DOS Commands in Qlikview Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529684#M1119509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the Settings tab in the script editor and make sure the option Can Execute External Programs is enable. &lt;IMG alt="comm104587.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51695_comm104587.png" style="width: 620px; height: 278px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 21:04:07 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-01-17T21:04:07Z</dc:date>
    <item>
      <title>Using DOS Commands in Qlikview Script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529683#M1119508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do a simple copy/paste in DOS using Qlikview Script.&amp;nbsp; Here is what I am doing.&amp;nbsp; It is pretty simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute cmd.exe /C net use &lt;A href="https://community.qlik.com/"&gt;\\ServerName009\dbsrvr1&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;Execute cmd.exe /C E:;&lt;/P&gt;&lt;P&gt;Execute cmd.exe /C copy \Qlikview\Data\Day17\test.qvd \Qlikview\Data\Today; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I type these exact commands, in this order, in a DOS prompt, it works well and copies test.qvd from the "Day17" folder to the "Today" folder.&amp;nbsp; I am trying to figure out why this won't work in a script.&amp;nbsp; Can someone please advise on what could be the issue here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 19:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529683#M1119508</guid>
      <dc:creator />
      <dc:date>2014-01-17T19:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using DOS Commands in Qlikview Script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529684#M1119509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the Settings tab in the script editor and make sure the option Can Execute External Programs is enable. &lt;IMG alt="comm104587.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51695_comm104587.png" style="width: 620px; height: 278px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 21:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529684#M1119509</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-17T21:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using DOS Commands in Qlikview Script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529685#M1119510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for getting back to us. I do have those settings in place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 21:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529685#M1119510</guid>
      <dc:creator />
      <dc:date>2014-01-17T21:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using DOS Commands in Qlikview Script</title>
      <link>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529686#M1119511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the context is lost between your separate command executions, i.e. when changing to E: and then using a relative file path in the next command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest putting your commands in a small .bat file and call the single batch file from within QV script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 10:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-DOS-Commands-in-Qlikview-Script/m-p/529686#M1119511</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-18T10:01:14Z</dc:date>
    </item>
  </channel>
</rss>

