<?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 splunk unable to run exe file when execute batch in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82841#M17196</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I tried to run a batch file which can execute my exe file whenever splunk.&lt;/P&gt;

&lt;P&gt;But it seems that my exe file will not execute.&lt;/P&gt;

&lt;P&gt;Any help will be good.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2012 14:47:14 GMT</pubDate>
    <dc:creator>peiyongp</dc:creator>
    <dc:date>2012-06-25T14:47:14Z</dc:date>
    <item>
      <title>splunk unable to run exe file when execute batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82841#M17196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I tried to run a batch file which can execute my exe file whenever splunk.&lt;/P&gt;

&lt;P&gt;But it seems that my exe file will not execute.&lt;/P&gt;

&lt;P&gt;Any help will be good.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2012 14:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82841#M17196</guid>
      <dc:creator>peiyongp</dc:creator>
      <dc:date>2012-06-25T14:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: splunk unable to run exe file when execute batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82842#M17197</link>
      <description>&lt;P&gt;Here are a few questions:&lt;/P&gt;

&lt;P&gt;Is the path to the executable correct? It should probably be explicit, or else you should set the PATH environment variable in your batch script.&lt;/P&gt;

&lt;P&gt;Does the account that is running Splunk have permissions to see/execute this file? Scripts are launched by Splunk using the account where Splunk was installed.&lt;/P&gt;

&lt;P&gt;Can you run the executable manually? Will it run if you are logged-in as the Splunk account? Are you running it from the same directory where the batch file is stored?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 05:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82842#M17197</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-06-26T05:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk unable to run exe file when execute batch</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82843#M17198</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;

&lt;P&gt;To answer your questions.&lt;/P&gt;

&lt;P&gt;Yes the path is correct.&lt;BR /&gt;
Yes the account have permission.&lt;BR /&gt;
I am able to run the executable manually.&lt;/P&gt;

&lt;P&gt;The problem is the executable file is not at the directory.&lt;BR /&gt;
I had moved the executable to the script directory. And its working.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2012 05:55:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-unable-to-run-exe-file-when-execute-batch/m-p/82843#M17198</guid>
      <dc:creator>peiyongp</dc:creator>
      <dc:date>2012-06-26T05:55:49Z</dc:date>
    </item>
  </channel>
</rss>

