<?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 Interrogate server folder sizes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205017#M61680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ease,&lt;/P&gt;&lt;P&gt;Create a .BAT file like below&lt;/P&gt;&lt;P&gt;dir /S &amp;lt;yourpath&amp;gt; &amp;gt; file.txt&lt;/P&gt;&lt;P&gt;and then read the "file.txt" inside your app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 21:27:05 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2010-09-16T21:27:05Z</dc:date>
    <item>
      <title>Interrogate server folder sizes</title>
      <link>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205015#M61678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a storage server with each user having a dedicated folder with set size limits.&lt;/P&gt;&lt;P&gt;I have been asked if it is possible to to interrogate the server using QlikView and produce a report showing folder name, used space, folder limit and free space...&lt;/P&gt;&lt;P&gt;Unsure where to start with this...&lt;/P&gt;&lt;P&gt;Has anyone else tackled something like this before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205015#M61678</guid>
      <dc:creator>pkelly</dc:creator>
      <dc:date>2010-09-16T15:41:29Z</dc:date>
    </item>
    <item>
      <title>Interrogate server folder sizes</title>
      <link>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205016#M61679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's definitely possible. You would need to create a loop (see For loops in the Help file) to query your folders. Then you would need to use the filesize() function to check each filesize in your folder. Add all the file sizes together and you get the total size of the folder. Folder name can be fetched with the filepath() function. Hardcode the HD size and subtract all folder sizes and you get the free space. It's a pain, but it's possible to do. To be honest, you might want to use a different tool since this is not really where QV shines...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205016#M61679</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-09-16T21:07:39Z</dc:date>
    </item>
    <item>
      <title>Interrogate server folder sizes</title>
      <link>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205017#M61680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ease,&lt;/P&gt;&lt;P&gt;Create a .BAT file like below&lt;/P&gt;&lt;P&gt;dir /S &amp;lt;yourpath&amp;gt; &amp;gt; file.txt&lt;/P&gt;&lt;P&gt;and then read the "file.txt" inside your app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205017#M61680</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2010-09-16T21:27:05Z</dc:date>
    </item>
    <item>
      <title>Interrogate server folder sizes</title>
      <link>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205018#M61681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For free space, you can use this macro:&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub DriveFreeSpace&lt;BR /&gt; drive="C:"&lt;BR /&gt; call ShowFreeSpace(drive)&lt;BR /&gt;end sub&lt;BR /&gt;'&lt;BR /&gt;Function ShowFreeSpace(drvPath)&lt;BR /&gt; Dim fso, d, s&lt;BR /&gt; Set fso = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; Set d = fso.GetDrive(fso.GetDriveName(drvPath))&lt;BR /&gt; s = "Drive " &amp;amp; UCase(drvPath) &amp;amp; " ("&lt;BR /&gt; s = s &amp;amp; d.VolumeName &amp;amp; ") "&lt;BR /&gt; s = s &amp;amp; "free space: " &amp;amp; FormatNumber(d.FreeSpace/1024/1024, 0)&lt;BR /&gt; s = s &amp;amp; " MBytes"&lt;BR /&gt; ShowFreeSpace = s&lt;BR /&gt; msgbox(ShowFreeSpace)&lt;BR /&gt;End Function&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 21:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interrogate-server-folder-sizes/m-p/205018#M61681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-16T21:37:09Z</dc:date>
    </item>
  </channel>
</rss>

