<?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: Vb script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677294#M245719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm kind of a newbie to this sort of question but....&amp;nbsp; if you open a command prompt on windows&amp;nbsp; Start -&amp;gt; CMD&lt;/P&gt;&lt;P&gt;can you execute the vbs script via a UNC path ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2014 20:40:47 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-08-29T20:40:47Z</dc:date>
    <item>
      <title>Vb script</title>
      <link>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677293#M245718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run the vb script in the QlikView script using the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXECUTE cmd.exe /C "\\test\t.vbs"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the error as "&lt;STRONG&gt;UNC Paths are not supported. Defaulting to Windows directory"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also it is prompting to run the script. I would like to know&amp;nbsp; how to run the vb script in the silent mode without prompting to the user to run it and also how to allow the unc paths.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 19:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677293#M245718</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2014-08-29T19:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Vb script</title>
      <link>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677294#M245719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm kind of a newbie to this sort of question but....&amp;nbsp; if you open a command prompt on windows&amp;nbsp; Start -&amp;gt; CMD&lt;/P&gt;&lt;P&gt;can you execute the vbs script via a UNC path ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 20:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677294#M245719</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-29T20:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vb script</title>
      <link>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677295#M245720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To run the execute command without getting prompts:&lt;/P&gt;&lt;P&gt;first, make sure to check the flag "Can Execute External Programs" from the edit script window, as shown in the below image:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Execute.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65618_Execute.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then, under Settings &amp;gt; User Preferences &amp;gt; Security tab, you'll have to check the flag "Script", as also shown in the below image.&lt;/P&gt;&lt;P&gt;note that this is usually done when you trust the source of your documents (check the note in picture).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="UserPref.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65619_UserPref.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to running unc paths, I've searched a bit and read about the pushd command that takes as parameter the unc path and creates a drive that directly points to it, and the popd command that releases it.&lt;/P&gt;&lt;P&gt;Maybe you could create a batch file (locally / accessible location) in which you write these commands:&lt;/P&gt;&lt;P&gt;pushd \\test&lt;/P&gt;&lt;P&gt;t.vbs&lt;/P&gt;&lt;P&gt;popd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let's say you placed your batch TestBat.bat file under C:\Batches\&lt;/P&gt;&lt;P&gt;so in your qv script your execute command would be like:&lt;/P&gt;&lt;P&gt;execute cmd.exe /C "C:\Batches\TestBat.bat";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 17:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677295#M245720</guid>
      <dc:creator />
      <dc:date>2014-08-31T17:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Vb script</title>
      <link>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677296#M245721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response. How to run the batch file in the silent mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 16:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Vb-script/m-p/677296#M245721</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2014-09-03T16:04:31Z</dc:date>
    </item>
  </channel>
</rss>

