<?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: Writing .bat file through script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785643#M664546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, According to your script the cmdtable have &lt;STRONG&gt;[::CMD]&lt;/STRONG&gt; derivied &lt;STRONG&gt;FROM&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;TO&lt;/STRONG&gt; fields. use the single quotes to generate the respective cmd command. Please find the below sample script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cmdtable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; * ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MOVE "'&amp;amp;FROM&amp;amp;'" "'&amp;amp;TO&amp;amp;'"' AS [::CMD]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;FROM , TO&lt;/P&gt;&lt;P&gt;C:\ , C:\Other&lt;/P&gt;&lt;P&gt;D:\Other Than , C:\New Than&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 12:52:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-12T12:52:59Z</dc:date>
    <item>
      <title>Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785642#M664545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write a qlikview script that (amongst other things) moves a group of files from one place to another. The general idea is that in the script I generate lines of cmd commands (MOVE [from] [to]) in a table. Then I want to export this table using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store [::CMD] FROM cmdtable INTO .\batchfile.bat (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the problem is that my [from] and [to] filepaths contain white spaces. In cmd script this is solved by surrounding the path with double quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE "C:/Some Dir" "C:/Other Dir"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I write a line like above to txt using the store command, the output looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MOVE ""&lt;SPAN style="font-size: 13.3333330154419px;"&gt;C:/Some Dir"" ""C:/Other Dir"""&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody has an idea how I can force qlikview to write to file without escaping? Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Lennaert van den Brink&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 14:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785642#M664545</guid>
      <dc:creator>lvdbrink</dc:creator>
      <dc:date>2015-02-11T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785643#M664546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, According to your script the cmdtable have &lt;STRONG&gt;[::CMD]&lt;/STRONG&gt; derivied &lt;STRONG&gt;FROM&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;TO&lt;/STRONG&gt; fields. use the single quotes to generate the respective cmd command. Please find the below sample script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cmdtable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; * ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MOVE "'&amp;amp;FROM&amp;amp;'" "'&amp;amp;TO&amp;amp;'"' AS [::CMD]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;FROM , TO&lt;/P&gt;&lt;P&gt;C:\ , C:\Other&lt;/P&gt;&lt;P&gt;D:\Other Than , C:\New Than&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 12:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785643#M664546</guid>
      <dc:creator />
      <dc:date>2015-02-12T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785644#M664547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;some help here&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/493224#493224" title="http://community.qlik.com/message/493224#493224"&gt;http://community.qlik.com/message/493224#493224&lt;/A&gt;&lt;/P&gt;&lt;P&gt;look at last answer, Qlik Tips blog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 13:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785644#M664547</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-12T13:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785645#M664548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;To clarify my question, I have a table like this in qlikview:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;BATWriteToFile:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;MOVE "C:\From 1\file1.txt" &lt;SPAN style="font-size: 13.3333330154419px;"&gt;"C:\To 1\file1.txt"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MOVE "C:\From 2\file2.txt" &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"C:\To 2\file2.txt"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MOVE "C:\From 3\file3.txt" &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"C:\To 3\file3.txt"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;So I know how to write the lines in such a manner that the QV table contains the correct commands. However, the problem occurs when I call&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;STORE [::CMD] FROM BATwriteToFile INTO .\cleanup.bat (txt);&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Because this results in the following text in the cleanup.bat file:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;::CMD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;"MOVE ""C:\From 1\file1.txt"" &lt;SPAN style="font-size: 13.3333330154419px;"&gt;""C:\To 1\file1.txt"""&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"MOVE ""C:\From 2\file2.txt"" &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;""C:\To 2\file2.txt"""&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"MOVE ""C:\From 3\file3.txt"" "&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"C:\To 3\file3.txt"""&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So the STORE INTO command automatically escapes all the qoutes and als escapes the entire row. I want to just write the plain string without the automatic escaping, so my question is: how do I make the STORE INTO command stop escaping the output?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The linked qlik tips blog is almost the exact solution I have right now, but that code does not work when your file paths contain blank spaces or other characters that need to be escaped...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 12:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785645#M664548</guid>
      <dc:creator>lvdbrink</dc:creator>
      <dc:date>2015-02-13T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785646#M664549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;C&gt;(txt)&lt;/C&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 12:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785646#M664549</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2015-02-13T12:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785647#M664550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you used as alternatively no batch-file else the command in a qv execute-statement like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2056" data-containertype="14" data-objectid="531308" data-objecttype="2" href="http://community.qlik.com/message/531308#531308"&gt;http://community.qlik.com/message/531308#531308&lt;/A&gt;&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, 13 Feb 2015 12:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785647#M664550</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-13T12:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785648#M664551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of the above solutions is what I am looking for, but I believe I have a solution myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is now that I construct each move command in a table with 3 columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;BATWriteToFile:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;[::cmd1], cmd2, cmd3&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'MOVE', '"C:\From 1\file1.txt"', '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;"C:\To 1\file1.txt"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;'MOVE', '"C:\From 2\file1.txt"', '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit;"&gt;"C:\To 2\file1.txt"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;'MOVE', '"C:\From 3\file1.txt"', '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit;"&gt;"C:\To 3\file1.txt"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit;"&gt;Then when storing the command, I write to text file using spaces as delimiter. The result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;::&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;cmd1 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;cmd2 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;cmd3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MOVE """C:\From 1\file1.txt""" &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;"""C:\To 1\file1.txt""""&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;MOVE """C:\From 2\file2.txt""" &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit;"&gt;"""C:\To 2\file2.txt""""&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; font-weight: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;MOVE """C:\From 3\file3.txt""" &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit;"&gt;"""C:\To 3\file3.txt""""&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So the filenames are surrounded by triple ". However, "" is ignored by cmd, so effectively """ is the same as " for cmd.exe&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I can not test this currently on my live environment, but I believe this might do the trick...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 13:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785648#M664551</guid>
      <dc:creator>lvdbrink</dc:creator>
      <dc:date>2015-02-13T13:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Writing .bat file through script</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785649#M664552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got your problem exactly. Instead of doing tripe double quotes ("), while store the file use the " as delimiter. Please find the below script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I am constructing the Table with all the fields can create a move command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cmdtable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MOVE ' AS [::Cmd] , &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM AS Cmd1 , &lt;/P&gt;&lt;P&gt;&amp;nbsp; ' ' AS Cmd2 , &lt;/P&gt;&lt;P&gt;&amp;nbsp; TO AS Cmd3 ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ' ' AS Cmd4&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;FROM , TO&lt;/P&gt;&lt;P&gt;C:\ , C:\Other&lt;/P&gt;&lt;P&gt;D:\Other Than , C:\New Than&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE cmdtable into [batchfile.bat](txt,delimiter is '"') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While storing I am using double quote as delimiter. The file creating required below output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;::Cmd"Cmd2"Cmd3"Cmd4"Cmd5&lt;/P&gt;&lt;P&gt;MOVE "C:\" "C:\Other" &lt;/P&gt;&lt;P&gt;MOVE "D:\Other Than" "C:\New Than" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-bat-file-through-script/m-p/785649#M664552</guid>
      <dc:creator />
      <dc:date>2015-02-13T15:30:58Z</dc:date>
    </item>
  </channel>
</rss>

