cmd attach issue
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-07-19 12:59 PM
hello friends,
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.
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)
we require your help to solve this issue.
------------------------------
Suresh BABU
RPA developer
Deuscthe bank
Asia/Kolkata
------------------------------
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.
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)
we require your help to solve this issue.
------------------------------
Suresh BABU
RPA developer
Deuscthe bank
Asia/Kolkata
------------------------------
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-07-19 01:49 PM
Hi,
Have you tried "Utility - Environment" Object's action: Start Process Read Stderr and Stdout?
Hope this helps.
------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------
Have you tried "Utility - Environment" Object's action: Start Process Read Stderr and Stdout?
Hope this helps.
------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-07-19 02:32 PM
yeh i tried environment object but its not attaching for system32, with syswow64 its working, Regarding stability of attaching cmd we are facing problems
------------------------------
Suresh BABU
RPA developer
mumbai
------------------------------
------------------------------
Suresh BABU
RPA developer
mumbai
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-07-19 02:52 PM
Hi,
My understand is that when you use 32-bit OS, cmd.exe could be called by "C:\WINDOWS\system32\cmd.exe".
On the other hand, when you use 64-bit OS and want to call 32-bit cmd.exe, it could be called by "C:\Windows\SysWOW64\cmd.exe".
It all depends on whether your OS is 32-bit or 64-bit.
Hope this helps.
------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------
My understand is that when you use 32-bit OS, cmd.exe could be called by "C:\WINDOWS\system32\cmd.exe".
On the other hand, when you use 64-bit OS and want to call 32-bit cmd.exe, it could be called by "C:\Windows\SysWOW64\cmd.exe".
It all depends on whether your OS is 32-bit or 64-bit.
Hope this helps.
------------------------------
Tetsuji Junicho
Manager of RPA Practice Grp.
Accenture Japan
Asia/Tokyo
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-07-19 07:57 AM
Hi,
I also launched cmd using utility-Environment (Start Process) and I was able to launch the cmd. I had to pass some commands to cmd emulator so i attached to cmd using Attach action available in Navigate stage.
While you are creating Application Modeller, Pass the window title as *cmd* and give the process name as well (which you can find in Task Manager) and try to attach.
Hope this helps.
------------------------------
Bhuvnesh Kumar Gupta
Sr. Software Engineer
Xavient Information System
Asia/Kolkata
------------------------------
I also launched cmd using utility-Environment (Start Process) and I was able to launch the cmd. I had to pass some commands to cmd emulator so i attached to cmd using Attach action available in Navigate stage.
While you are creating Application Modeller, Pass the window title as *cmd* and give the process name as well (which you can find in Task Manager) and try to attach.
Hope this helps.
------------------------------
Bhuvnesh Kumar Gupta
Sr. Software Engineer
Xavient Information System
Asia/Kolkata
------------------------------
