<?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: Script to move a file from one folder to another in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382810#M142866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should use the console command to move files in the load script, I´m not sure but I think is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 11.818181991577148px; background-color: #ffffff;"&gt;execute cmd.exe /c move &amp;lt;Source Folder&amp;gt; &amp;lt;Destiny Folder&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 11.818181991577148px; background-color: #ffffff;"&gt;You need to enable the execution of external programs, if you want to check if the script works you could try with this to delete some file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 11.818181991577148px; background-color: #ffffff; font-family: Arial;"&gt;execute cmd.exe /c del &amp;lt;File&amp;gt;; //name or path of the file to delete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 11.818181991577148px; background-color: #ffffff; font-family: Arial;"&gt;Hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2012 18:51:39 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-08-31T18:51:39Z</dc:date>
    <item>
      <title>Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382808#M142864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if it is possible to move files to another folder within my QV script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I have some files in say a folder called "Upload Data".&amp;nbsp; Can you move all the files contained in that folder to a folder called "Archive"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 09:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382808#M142864</guid>
      <dc:creator />
      <dc:date>2012-08-31T09:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382809#M142865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can create vb macto and use it in your QV script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 10:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382809#M142865</guid>
      <dc:creator />
      <dc:date>2012-08-31T10:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382810#M142866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should use the console command to move files in the load script, I´m not sure but I think is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 11.818181991577148px; background-color: #ffffff;"&gt;execute cmd.exe /c move &amp;lt;Source Folder&amp;gt; &amp;lt;Destiny Folder&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 11.818181991577148px; background-color: #ffffff;"&gt;You need to enable the execution of external programs, if you want to check if the script works you could try with this to delete some file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 11.818181991577148px; background-color: #ffffff; font-family: Arial;"&gt;execute cmd.exe /c del &amp;lt;File&amp;gt;; //name or path of the file to delete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 11.818181991577148px; background-color: #ffffff; font-family: Arial;"&gt;Hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 18:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382810#M142866</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-08-31T18:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382811#M142867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried doing that and it doesn't seem to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Execute cmd.exe /c del &amp;lt;Z:\My Documents\Test File to Delete.txt&amp;gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something else I should be doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 09:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382811#M142867</guid>
      <dc:creator />
      <dc:date>2012-09-03T09:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382812#M142868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try without &amp;lt;&amp;gt;.&lt;/P&gt;&lt;P&gt;Look at help 'execute'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before writing a command in a script you can always check it with a Windows Command Prompt.&lt;/P&gt;&lt;P&gt;In your case: del &amp;lt;Z:\My Documents\Test File to Delete.txt&amp;gt;&lt;/P&gt;&lt;P&gt;It definetly says that "The syntax of the command is incorrect."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 09:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382812#M142868</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-03T09:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382813#M142869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the &amp;lt;&amp;gt; were only to mark&amp;nbsp; that there you had to write the name of the file but you have to discard them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and tell me if wroks fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 11.818181991577148px; color: #636363; font-family: Arial;"&gt;execute cmd.exe /c del Z:\My Documents\Test File to Delete.txt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #eef4f9; font-size: 11.818181991577148px; color: #636363; font-family: Arial;"&gt;Regards&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 12:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382813#M142869</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-09-03T12:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382814#M142870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;Hi whiteline,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;Please try this: &lt;/STRONG&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;execute cmd.exe /c del "Z:\My Documents\Test File to Delete.txt";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;Regards,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.818181991577148px; font-family: Arial; background-color: #eef4f9; color: #636363;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382814#M142870</guid>
      <dc:creator />
      <dc:date>2013-12-18T10:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script to move a file from one folder to another</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382815#M142871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know its very old question. but wanted to reply if some one would use in the future&lt;/P&gt;&lt;P&gt;execute cmd.exe&amp;nbsp; /c move "C:\Users\kishravi\Desktop\CRM\*.txt" "C:\Users\kishravi\Desktop\CRM\Test\";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-move-a-file-from-one-folder-to-another/m-p/382815#M142871</guid>
      <dc:creator />
      <dc:date>2016-09-02T15:36:52Z</dc:date>
    </item>
  </channel>
</rss>

