<?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 ExportBiff as ReadOnly file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ExportBiff-as-ReadOnly-file/m-p/141515#M21168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you could export the file and then run a check on the read-only state of the file. Here's a snippet of vbscript I found online:&lt;/P&gt;&lt;P&gt;' ------ SCRIPT CONFIGURATION ------&lt;BR /&gt;strFile = "&amp;lt;FilePath&amp;gt;" ' e.g. d:\mysecretscript.vbs&lt;BR /&gt;boolReadOnly = True ' True = read-only, False = not read-only&lt;BR /&gt;' ------ END CONFIGURATION ---------&lt;BR /&gt;set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;&lt;BR /&gt;' Change this to GetFolder to hide/unhide a folder&lt;BR /&gt;set objFile = objFSO.GetFile(strFile)&lt;BR /&gt;&lt;BR /&gt;if boolReadOnly = True then&lt;BR /&gt; if objFile.Attributes AND 1 then&lt;BR /&gt; WScript.Echo "File already read-only"&lt;BR /&gt; else&lt;BR /&gt; objFile.Attributes = objFile.Attributes + 1&lt;BR /&gt; WScript.Echo "File is now read-only"&lt;BR /&gt; end if&lt;BR /&gt;else&lt;BR /&gt; if objFile.Attributes AND 1 then&lt;BR /&gt; objFile.Attributes = objFile.Attributes - 1&lt;BR /&gt; WScript.Echo "File is not read-only"&lt;BR /&gt; else&lt;BR /&gt; WScript.Echo "File is already not read-only"&lt;BR /&gt; end if&lt;BR /&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 15:18:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-04-16T15:18:47Z</dc:date>
    <item>
      <title>ExportBiff as ReadOnly file</title>
      <link>https://community.qlik.com/t5/QlikView/ExportBiff-as-ReadOnly-file/m-p/141514#M21167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is this possible? i dont see any options like true,false like VB.NET has. Manual is not clear about this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ExportBiff-as-ReadOnly-file/m-p/141514#M21167</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2009-04-16T15:07:12Z</dc:date>
    </item>
    <item>
      <title>ExportBiff as ReadOnly file</title>
      <link>https://community.qlik.com/t5/QlikView/ExportBiff-as-ReadOnly-file/m-p/141515#M21168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you could export the file and then run a check on the read-only state of the file. Here's a snippet of vbscript I found online:&lt;/P&gt;&lt;P&gt;' ------ SCRIPT CONFIGURATION ------&lt;BR /&gt;strFile = "&amp;lt;FilePath&amp;gt;" ' e.g. d:\mysecretscript.vbs&lt;BR /&gt;boolReadOnly = True ' True = read-only, False = not read-only&lt;BR /&gt;' ------ END CONFIGURATION ---------&lt;BR /&gt;set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;&lt;BR /&gt;' Change this to GetFolder to hide/unhide a folder&lt;BR /&gt;set objFile = objFSO.GetFile(strFile)&lt;BR /&gt;&lt;BR /&gt;if boolReadOnly = True then&lt;BR /&gt; if objFile.Attributes AND 1 then&lt;BR /&gt; WScript.Echo "File already read-only"&lt;BR /&gt; else&lt;BR /&gt; objFile.Attributes = objFile.Attributes + 1&lt;BR /&gt; WScript.Echo "File is now read-only"&lt;BR /&gt; end if&lt;BR /&gt;else&lt;BR /&gt; if objFile.Attributes AND 1 then&lt;BR /&gt; objFile.Attributes = objFile.Attributes - 1&lt;BR /&gt; WScript.Echo "File is not read-only"&lt;BR /&gt; else&lt;BR /&gt; WScript.Echo "File is already not read-only"&lt;BR /&gt; end if&lt;BR /&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ExportBiff-as-ReadOnly-file/m-p/141515#M21168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-16T15:18:47Z</dc:date>
    </item>
  </channel>
</rss>

