<?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 Batch Script Not  Executing Properly from QMC // GPG Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574352#M1264919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've written a batch script to encrypt my output file using gpg4win.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the batch file manually on the server, it works as expected, creating the file. When I run the QVW that executes the batch file manually on the server it works fine too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run it as part of a scheduled task from the QMC, it does not work as intended, and doesn't encrypt the file (with no error messages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is running in it's entirety, because later in the batch file there are further actions which run successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch line is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gpg --batch --yes --always-trust -o C:\XXXX.txt.gpg -e -r "Username" XXXX.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why the script would work fine when run from the system account on the server, but not from the QMC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Batch Script Not  Executing Properly from QMC // GPG Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574352#M1264919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've written a batch script to encrypt my output file using gpg4win.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the batch file manually on the server, it works as expected, creating the file. When I run the QVW that executes the batch file manually on the server it works fine too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run it as part of a scheduled task from the QMC, it does not work as intended, and doesn't encrypt the file (with no error messages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is running in it's entirety, because later in the batch file there are further actions which run successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The batch line is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gpg --batch --yes --always-trust -o C:\XXXX.txt.gpg -e -r "Username" XXXX.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why the script would work fine when run from the system account on the server, but not from the QMC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574352#M1264919</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Script Not  Executing Properly from QMC // GPG Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574353#M1264922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using network drives or unc-directories, or is the batch or one commant of it not able to run under a service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574353#M1264922</guid>
      <dc:creator>jonasheisterkam</dc:creator>
      <dc:date>2014-04-14T15:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Script Not  Executing Properly from QMC // GPG Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574354#M1264926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I stripped out UNC / Network drives when trying to diagnose the problem, so it isn't that - the directories are all local.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if the batch command is able to be run under a service though - I'm not sure how I'd diagnose that problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574354#M1264926</guid>
      <dc:creator />
      <dc:date>2014-04-14T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Script Not  Executing Properly from QMC // GPG Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574355#M1264931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe an issue with reading from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;XXXX.txt&lt;/SPAN&gt; or writing to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;C:\XXXX.txt.gpg&lt;/SPAN&gt;. Do you need an absolute path to XXXX.txt? &lt;BR /&gt;You could try using other commands to read/write to these locations to see if it has anything to do with read/write.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-Script-Not-Executing-Properly-from-QMC-GPG-Issue/m-p/574355#M1264931</guid>
      <dc:creator>mls</dc:creator>
      <dc:date>2014-04-15T07:10:39Z</dc:date>
    </item>
  </channel>
</rss>

