<?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 Rename and move files using exe command in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118216#M760748</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 have a requirement to rename all the files present in the folder by appending date to actual file name and move it to archive folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me in achiving the functonality by using exe command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>dsharmaqv</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Rename and move files using exe command</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118216#M760748</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 have a requirement to rename all the files present in the folder by appending date to actual file name and move it to archive folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me in achiving the functonality by using exe command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&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/Rename-and-move-files-using-exe-command/m-p/118216#M760748</guid>
      <dc:creator>dsharmaqv</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rename and move files using exe command</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118217#M760749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;cd &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;home&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;webapps&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;project1&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;folder1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #101094;"&gt;for&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt; f &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #101094;"&gt;in&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;*.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;csv&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #101094;"&gt;do&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt; &lt;BR /&gt;&amp;nbsp; cp &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;v &lt;/SPAN&gt;&lt;SPAN class="str" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #7d2727;"&gt;"$f"&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;home&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;webapps&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;project1&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;folder2&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="str" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #7d2727;"&gt;"${f%.csv}"&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;$&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;date &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;+%&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;m&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;%&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;d&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;%&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;y&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #303336;"&gt;csv&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-style: inherit; font-weight: inherit; font-family: inherit; color: #101094;"&gt;done&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118217#M760749</guid>
      <dc:creator>sibin_jacob</dc:creator>
      <dc:date>2018-08-08T10:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rename and move files using exe command</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118218#M760750</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;Thanks for your reply.&lt;/P&gt;&lt;P&gt; I am trying below for moving files, dont know how to rename and then move.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vFile&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;filelist&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('C:\Users\XXX\Desktop\ABC Dashboard\01SourceFile\*')&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;File&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'C:\Users\XXX\Desktop\ABC Dashboard\01SourceFile\*';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;AFile&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'C:\Users\XXX\Desktop\ABC Dashboard\01SourceFile\Archive\';&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&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.exe /C move /Y "$(File)" "$(AFile)";&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;NEXT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118218#M760750</guid>
      <dc:creator>dsharmaqv</dc:creator>
      <dc:date>2018-08-08T13:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rename and move files using exe command</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118219#M760751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New';"&gt;vSource&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;C:\Users\XXX\Desktop\ABC Dashboard\01SourceFile&lt;/SPAN&gt;; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New';"&gt;vArchive&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;C:\Users\XXX\Desktop\ABC Dashboard\01SourceFile\Archive&lt;/SPAN&gt;';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;For&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Each&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New';"&gt;vFile&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;in&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;FileList&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;('$(vSource)\*.*')&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;Let&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-family: 'Courier New';"&gt;vNewFile&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Subfield&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;('$(vFile)','\','-1'),'.' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Subfield&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;('$(vFile)','.','-1'), &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(),'YYYYMMDD') &amp;amp; '.' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Subfield&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;('$(vFile)','.','-1'));&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;EXECUTE&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; cmd.exe /c Ren &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(vFile)"&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(vNewFile)"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;; &lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;NEXT&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-family: 'Courier New';"&gt;EXECUTE&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt; cmd.exe /c Move /Y &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(vSource)\*"&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;"$(vArchive)"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 15:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-and-move-files-using-exe-command/m-p/118219#M760751</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-08-08T15:26:20Z</dc:date>
    </item>
  </channel>
</rss>

