<?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: Command line, asked to replace file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396023#M147686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote my question not clear enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy command is ok. It's the command line &lt;EM&gt;reload &lt;/EM&gt;statement which asks for replacing the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Y didn't solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this statement asks for the replacement of the file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;%reloadcommand% %reloadswitch1% D:\QVS01\QVAPPS\somefolder\%sourceqvw%&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2013 07:01:56 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2013-04-25T07:01:56Z</dc:date>
    <item>
      <title>Command line, asked to replace file</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396021#M147684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bat to take care of some reloads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fails because Qlikview opens and asks if the document should be replaced. Of course the whole purpose of this bat is to not have manual clicks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set source=D:\QVS01\DistributionFolder\New\&lt;/P&gt;&lt;P&gt;set currentqvw=document_2.11.qvw&lt;/P&gt;&lt;P&gt;set archiveqvw=document_2.11.old&lt;/P&gt;&lt;P&gt;set sourceqvw=document_2.12.qvw&lt;/P&gt;&lt;P&gt;set sourceqvs="document.qvs"&lt;/P&gt;&lt;P&gt;set reloadcommand="C:\Program Files\QlikView\QV.exe"&lt;/P&gt;&lt;P&gt;set reloadswitch1=/r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD "D:\QVS01\QVAPPS\somefolder"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ren %currentqvw% %archiveqvw%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD %source%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy %sourceqvw% "D:\QVS01\QVAPPS\somefolder"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd %source% &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy %sourceqvs% "D:\QVS01\QVAPPS\somefolder"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD "D:\QVS01\QVAPPS\somefolder"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%reloadcommand% %reloadswitch1% D:\QVS01\QVAPPS\somefolder\%sourceqvw%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc. etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396021#M147684</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2013-04-24T14:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Command line, asked to replace file</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396022#M147685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add "/y" to the end of the copy command line to overwrite the file without needing a manual confirmation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;copy %sourceqvs% "D:\QVS01\QVAPPS\somefolder"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;use:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;copy %sourceqvs% "D:\QVS01\QVAPPS\somefolder" /y&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 15:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396022#M147685</guid>
      <dc:creator />
      <dc:date>2013-04-24T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Command line, asked to replace file</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396023#M147686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote my question not clear enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy command is ok. It's the command line &lt;EM&gt;reload &lt;/EM&gt;statement which asks for replacing the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Y didn't solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this statement asks for the replacement of the file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;%reloadcommand% %reloadswitch1% D:\QVS01\QVAPPS\somefolder\%sourceqvw%&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 07:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396023#M147686</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2013-04-25T07:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Command line, asked to replace file</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396024#M147687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User preferences: Save before reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unchecked this and it works as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 09:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-asked-to-replace-file/m-p/396024#M147687</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2013-04-25T09:08:55Z</dc:date>
    </item>
  </channel>
</rss>

