<?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: Trouble executing a RENAME command using QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030087#M347878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yep, that is a good idea. I will output the results to a txt file and report back here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 15:04:58 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2016-02-25T15:04:58Z</dc:date>
    <item>
      <title>Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030085#M347876</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;in my own library, I have a directory of 6.000 files - I have extracted 4 for testing - which I need to rename:&lt;/P&gt;&lt;P&gt;The filenames as of now are&lt;/P&gt;&lt;P&gt;- 0005498.01.jpg&lt;/P&gt;&lt;P&gt;- 0005498.02.jpg&lt;/P&gt;&lt;P&gt;- 0005539.01.jpg&lt;/P&gt;&lt;P&gt;- 0005539.02.jpg&lt;/P&gt;&lt;P&gt;All of them have a two-digit number associated and I need to rename them to a 9-digit number with that included =&amp;gt;&lt;/P&gt;&lt;P&gt;- 000549806.01.jpg&lt;/P&gt;&lt;P&gt;- 000549806.02.jpg&lt;/P&gt;&lt;P&gt;(that two-digit number is 06)&lt;/P&gt;&lt;P&gt;- 000553901.01.jpg&lt;/P&gt;&lt;P&gt;- 000553901.02.jpg&lt;/P&gt;&lt;P&gt;(that number is 01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code for that which, needless to say, does not yet work, is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;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;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&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;$(v_nr_rows)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-1)&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;v_filename_old&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;PEEK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Dateiname_incl_Pfad', &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PrioListe_mit_AI_Test&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;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;v_filename_new&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;PEEK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Dateiname_to_be_incl', &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PrioListe_mit_AI_Test&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 rename &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(v_filename_old)&lt;/EM&gt;&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;$(v_filename_new)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&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; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;i &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;(where "Dateiname_incl_Pfad" is the filename as stated above with the complete pathname.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Can someone help me tell why this does not work?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;As I said, i have to do this on the entire 6.400 files, but these 4 are for testing.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Best regards,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DataNibbler&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030085#M347876</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-25T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030086#M347877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;extend the execute to a cmd-message to see if there any error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;EXECUTE&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; cmd.exe /C rename &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(v_filename_old)&lt;/EM&gt;&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;$(v_filename_new) &lt;CODE&gt;&amp;gt;C:\output.txt&lt;/CODE&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe there is an error with the path - if there any spaces or special chars the statements needed to wrapped in double-quotes, this meant the variable &lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(v_filename_old)&lt;/EM&gt;&lt;/STRONG&gt; must then return "Path\File".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030086#M347877</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-25T15:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030087#M347878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yep, that is a good idea. I will output the results to a txt file and report back here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030087#M347878</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-25T15:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030088#M347879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done that - but the system did not write anything to that txt file - so I guess the EXECUTE command did not actually do anything although I saw the cmd-line window popping up for a split-second.&lt;/P&gt;&lt;P&gt;Maybe I should try putting a DIRECTORY command before the loop and then use just the filenames (incl. the ending)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030088#M347879</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-25T15:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030089#M347880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would suggest the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Make sure the "Can execute external programs" check box is ticked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Add a "TRACE" line between the LET commands and the EXECUTE command to print out the content of the variables to check they are populated correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. If #2 is ok then check if EXECUTE command is working with explicit values, test running on a cmd prompt window first &lt;SPAN style="font-size: 13.3333px;"&gt; (Start + R, "cmd" and press "enter") &lt;/SPAN&gt; to make sure it is correct. e.g: &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;rename &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;0005498.01.jpg&lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;000549806.01.jpg&lt;/SPAN&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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030089#M347880</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-02-25T15:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030090#M347881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea, you should make a trace on $(i) and &lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(v_nr_rows)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030090#M347881</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-25T15:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030091#M347882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I will try that next.&lt;/P&gt;&lt;P&gt;I just realized I can seemingly only create folders on C:\, but no files, so I just redirected that output.txt to the "MyDocuments" directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure that the variables are populated properly, I am watching them in the Debugger all the time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030091#M347882</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-25T15:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030092#M347883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now the output.txt was properly generated, but it is empty.&lt;/P&gt;&lt;P&gt;Next I will try executing that command directly on the command_line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030092#M347883</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-25T15:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030093#M347884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem was the filepath: The RENAME command seemingly cannot work with a filename_incl_path. Instead, I have to use a DIRECTORY command before the loop and then work with only the filename_incl_ending.&lt;/P&gt;&lt;P&gt;That way, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030093#M347884</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2016-02-25T15:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble executing a RENAME command using QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030094#M347885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Command line programs (and actually others too) that write to standard output might also use something called standard error output too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RENAME command actually reports errors not to the standard output but to the standard error output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of doing this:&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.exe /C rename &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(v_filename_old)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(v_filename_new) &lt;CODE style="font-weight: inherit; font-style: inherit; font-size: 10.6667px;"&gt;&amp;gt;C:\output.txt;&lt;/CODE&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="color: #808080; font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;You should be doing this:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="color: #808080; font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&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&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; cmd.exe /C rename &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(v_filename_old)&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(v_filename_new)&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG style=": ; font-size: 10pt;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-size: 10.6667px;"&gt;&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-size: 10.6667px;"&gt;&lt;STRONG&gt;C:\error_output.txt&lt;/STRONG&gt;&lt;/CODE&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-size: 10.6667px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="color: #808080; font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Notice the number 2 in front of the &amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This will send any error messages reported by RENAME to the error_output.txt&lt;/SPAN&gt;&lt;EM style="color: #808080; font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-executing-a-RENAME-command-using-QlikView/m-p/1030094#M347885</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-25T15:49:24Z</dc:date>
    </item>
  </channel>
</rss>

