<?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: Drive Space in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041957#M931219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried to execute the &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"dir c: &amp;gt; space.txt";&amp;nbsp; in command prompt. I got message saying access denied.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in detail. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 06:26:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-10T06:26:39Z</dc:date>
    <item>
      <title>Drive Space</title>
      <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041953#M931213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QV, could you tell script to fetch the CD drive space of a local machine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepti&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/Drive-Space/m-p/1041953#M931213</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Space</title>
      <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041954#M931214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what you mean with "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;fetch the CD drive space&lt;/SPAN&gt;"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 18:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041954#M931214</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-09T18:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Space</title>
      <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041955#M931215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for C drive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Execute cmd.exe /C "dir c: &amp;gt; space.txt";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SPACE:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD @1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;space.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(txt, codepage is 1252, explicit labels, delimiter is '\t', msq)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where @1 like '*byte*';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117546_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 18:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041955#M931215</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-09T18:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Space</title>
      <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041956#M931217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I want to Fetch the available space of the C and D drive of a local machine and store it in QVD. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 06:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041956#M931217</guid>
      <dc:creator />
      <dc:date>2016-03-10T06:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Space</title>
      <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041957#M931219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried to execute the &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"dir c: &amp;gt; space.txt";&amp;nbsp; in command prompt. I got message saying access denied.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in detail. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 06:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041957#M931219</guid>
      <dc:creator />
      <dc:date>2016-03-10T06:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Space</title>
      <link>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041958#M931221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First open a command prompt and then execute the command &lt;EM&gt;dir c: d: &amp;gt; dirlist.txt&lt;/EM&gt;. Then open Qlikview and add this to your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * WHERE len(Drive);&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(SubStringCount(previous(line),'Volume in drive'),mid(previous(line),17,1)) as Drive,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(SubStringCount(line,'bytes free'),trim(TextBetween(line, 's) ',' bytes free'))) as BytesFree;&lt;/P&gt;&lt;P&gt;LOAD [@1:n] as line &lt;/P&gt;&lt;P&gt;FROM [dirlist.txt] (fix, codepage is 1252, no labels)&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; SubStringCount([@1:n],'Volume in drive') or&amp;nbsp; SubStringCount([@1:n],'bytes free')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to be able to execute the command line command from inside Qlikview then you first need to disable some security settings so you can do dangerous things like starting arbitrary programs from Qlikview. One of these setting can be found on the Settings tab of the Script Editor: Can Execute External Programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 09:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Drive-Space/m-p/1041958#M931221</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-10T09:30:37Z</dc:date>
    </item>
  </channel>
</rss>

