<?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: cmd attach issue in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/cmd-attach-issue/m-p/86244#M37122</link>
    <description>&lt;P&gt;This is because of &lt;SPAN&gt;WOW64 file system redirection, to disable do the following changes in Utility - Environment&lt;BR /&gt;&lt;BR /&gt;Add following line to Global Code Stage&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;Private Declare Function Wow64EnableWow64FsRedirection Lib "kernel32.dll" (ByVal Enable As Boolean) As Boolean&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;And add following lines to&amp;nbsp;Start Process Read Stderr and Stdout Action's code stage&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At beginning of code stage&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;Wow64EnableWow64FsRedirection(False)&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;At end of code stage&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;Wow64EnableWow64FsRedirection(True)&lt;/PRE&gt;
&lt;P&gt;Pass batch file in Program and arguments in Argument data items resp. and read output in Standard Output data item, it should run in System32 now and no need to attach to cmd window&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Jul 2019 05:09:00 GMT</pubDate>
    <dc:creator>GopalBhaire</dc:creator>
    <dc:date>2019-07-17T05:09:00Z</dc:date>
    <item>
      <title>cmd attach issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/cmd-attach-issue/m-p/86243#M37121</link>
      <description>hello friends,&lt;BR /&gt;&lt;BR /&gt;we are facing issues with cmd (batchfile) by default using utility environment object its opening with syswow64, but for our successful batch file execution we need to open in system32 and after that we need to send parameters to batch file and read the output from batch file.&lt;BR /&gt;we managed to launch batch file in system32 using wild card but attach is application madular is not working properly (once in 10 times may work)&lt;BR /&gt;we require your help to solve this issue.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Suresh BABU&lt;BR /&gt;RPA developer&lt;BR /&gt;Deuscthe bank&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2019 11:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/cmd-attach-issue/m-p/86243#M37121</guid>
      <dc:creator>SureshBABU4</dc:creator>
      <dc:date>2019-07-16T11:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: cmd attach issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/cmd-attach-issue/m-p/86244#M37122</link>
      <description>&lt;P&gt;This is because of &lt;SPAN&gt;WOW64 file system redirection, to disable do the following changes in Utility - Environment&lt;BR /&gt;&lt;BR /&gt;Add following line to Global Code Stage&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;Private Declare Function Wow64EnableWow64FsRedirection Lib "kernel32.dll" (ByVal Enable As Boolean) As Boolean&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;And add following lines to&amp;nbsp;Start Process Read Stderr and Stdout Action's code stage&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At beginning of code stage&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;Wow64EnableWow64FsRedirection(False)&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;At end of code stage&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;Wow64EnableWow64FsRedirection(True)&lt;/PRE&gt;
&lt;P&gt;Pass batch file in Program and arguments in Argument data items resp. and read output in Standard Output data item, it should run in System32 now and no need to attach to cmd window&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2019 05:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/cmd-attach-issue/m-p/86244#M37122</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2019-07-17T05:09:00Z</dc:date>
    </item>
  </channel>
</rss>

