<?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 Windows Batch to automate backup in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239290#M89933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;We would like to save a copy of a qvw file on a daily basis. I was thinking about writing a windows batch job that will automate the copying of the files. The following works fine but I would like to modify it a little.&lt;/P&gt;&lt;P&gt;copy d:\src\finename.qvw s:\dest\%random%-x.qvw&lt;/P&gt;&lt;P&gt;The modification I would like concerning the above is the following: instead of a random number I would like to have a timestamp (YYYYMMDD) to ease the process of finding the appropriate file back.&lt;/P&gt;&lt;P&gt;Does anybody have an idea how to accomplish that?&lt;/P&gt;&lt;P&gt;Jochem&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2009 17:31:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-12T17:31:54Z</dc:date>
    <item>
      <title>Windows Batch to automate backup</title>
      <link>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239290#M89933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;We would like to save a copy of a qvw file on a daily basis. I was thinking about writing a windows batch job that will automate the copying of the files. The following works fine but I would like to modify it a little.&lt;/P&gt;&lt;P&gt;copy d:\src\finename.qvw s:\dest\%random%-x.qvw&lt;/P&gt;&lt;P&gt;The modification I would like concerning the above is the following: instead of a random number I would like to have a timestamp (YYYYMMDD) to ease the process of finding the appropriate file back.&lt;/P&gt;&lt;P&gt;Does anybody have an idea how to accomplish that?&lt;/P&gt;&lt;P&gt;Jochem&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 17:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239290#M89933</guid>
      <dc:creator />
      <dc:date>2009-11-12T17:31:54Z</dc:date>
    </item>
    <item>
      <title>Windows Batch to automate backup</title>
      <link>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239291#M89934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET YYYYMMDD=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%&lt;BR /&gt;copy d:\src\filename.qvw s:\test\%YYYYMMDD%-x.qvw&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 17:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239291#M89934</guid>
      <dc:creator />
      <dc:date>2009-11-12T17:39:41Z</dc:date>
    </item>
    <item>
      <title>Windows Batch to automate backup</title>
      <link>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239292#M89935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can copy your file and rename it:&lt;/P&gt;&lt;P&gt;copy d:\src\finename.qvw s:\dest\&lt;/P&gt;&lt;P&gt;ren s:\dest\filename.qvw filename%DATE:/=-%.qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 20:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239292#M89935</guid>
      <dc:creator />
      <dc:date>2009-11-12T20:58:33Z</dc:date>
    </item>
    <item>
      <title>Windows Batch to automate backup</title>
      <link>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239293#M89936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use this:&lt;/P&gt;&lt;P&gt;COPY d:\src\filename.qvw s:\test\%date:~10,4%-%date:~4,2%-%date:~7,2%_filename.qvw&lt;/P&gt;&lt;P&gt;Attention to date format. This is US format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mihai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 10:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Windows-Batch-to-automate-backup/m-p/239293#M89936</guid>
      <dc:creator>mihaiturturica</dc:creator>
      <dc:date>2010-06-30T10:49:00Z</dc:date>
    </item>
  </channel>
</rss>

