<?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: Macro to move file to another folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269077#M862680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's possible with something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim wshell As Object&lt;/P&gt;&lt;P&gt;wshell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wshell.run("cmd /c schtasks.exe /run /TN "QlikView Tasks\ExportAndMail")&lt;/P&gt;&lt;P&gt;wshell = Nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereby you could do it also within the load-script with an execute-statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute schtasks.exe /Run /TN "QlikView Tasks\ExportAndMail";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which could be triggerred from the qmc in opposite to a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 12:41:23 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-01-06T12:41:23Z</dc:date>
    <item>
      <title>Macro to move file to another folder</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269074#M862677</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;&lt;/P&gt;&lt;P&gt;Is it possible to create a macro to move a file to another folder from Qlikview&lt;/P&gt;&lt;P&gt;If so, will this work on the QV server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269074#M862677</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to move file to another folder</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269075#M862678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use DOS command,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maybe just use separate subfolders per day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vToday = Date(Today(),'YYYY-MM-DD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;execute cmd.exe /C MKDIR &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;"C:\QVWs\Shared Files Folder\$(vToday)"&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;execute cmd.exe /C MOVE "C:\QVWs\*.shared"&amp;nbsp;&amp;nbsp; "C:\QVWs\Shared Files Folder\$(vToday)";&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269075#M862678</guid>
      <dc:creator>koushik_btech20</dc:creator>
      <dc:date>2017-01-04T08:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to move file to another folder</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269076#M862679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Is it possible to trigger a windows task from qlikview via a macro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269076#M862679</guid>
      <dc:creator />
      <dc:date>2017-01-06T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to move file to another folder</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269077#M862680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's possible with something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim wshell As Object&lt;/P&gt;&lt;P&gt;wshell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wshell.run("cmd /c schtasks.exe /run /TN "QlikView Tasks\ExportAndMail")&lt;/P&gt;&lt;P&gt;wshell = Nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereby you could do it also within the load-script with an execute-statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute schtasks.exe /Run /TN "QlikView Tasks\ExportAndMail";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which could be triggerred from the qmc in opposite to a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 12:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-move-file-to-another-folder/m-p/1269077#M862680</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-06T12:41:23Z</dc:date>
    </item>
  </channel>
</rss>

