How to automate mscommand prompt through blueprism
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-06-16 01:10 PM
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-06-16 01:57 PM
I've not automated command prompt through Blue Prism, but have developed some objects to automate the WinSCP command prompt and PuTTY.
However, I have found that for the purposes required - I have been able to pre-code batch scripts of powershell scripts and use the Start Process action. Perhaps this could be something you could look into, rather than interfacing with the command prompt.

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-06-16 01:43 PM
We can automate command prompt using BP. Please use the below steps
1) Using utility environment object, select start process action & pass the application value as ""C:\Windows\System32\cmd.exe""
2) Using navigate stage attach the cmd application with input windows title as ""C:\Windows\System32\cmd.exe""
3) Enter the any command using global send keys event to cmd application like ""dir {RETURN}
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-06-16 02:48 PM
Sudarshant - Out of curiosity, can you read from contents of the command prompt? E.g. wait for an action to complete? I haven't tested, but I imagine you can't. I had some issues with PuTTY like that so had to use other work arounds.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-16 07:02 PM
OCR should be a last resort. I was looking for a direct API read using Win32/AA. However I now use write out the result to a .txt file, then download that into Blue Prism to query the output result.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-02-17 08:52 AM
For Read, Send Key ALT+SPACE, E, S, Enter. Then Read From Clipboard by using Utiltity Environment#Get Clipboard.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-08-19 09:53 AM
Could you please share the object if possible.
------------------------------
SANJIB SINHA
Software Senior Engineer
TELSTRA
Asia/Kolkata
------------------------------
------------------------------
SANJIB SINHA
Software Senior Engineer
TELSTRA
Asia/Kolkata
------------------------------
