- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-08-19 11:59 AM
I need to create folder using command line, though there are option available in Folder management, i want to utilize command prompt for it,
i want to send 'MD Test' as command and create this 'Test' folder, did any one tried it ? can you share how to send this command from Start Process Action ?
------------------------------
Ishan Mahajan
India
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-08-19 02:50 PM
You can use the "Start Process" Action within the "Utility - Environment" VBO for this below is an example of how this could be done. e.g.
Inputs:
Application = "cmd.exe"
Arguments = ""/c if not exist ""c:\temp\bp-new-folder"" (mkdir ""c:\temp\bp-new-folder"")"
Please note that the "Start Process" Action does not handle any exit codes
------------------------------
James Marsh
Technical Consultant
Blue Prism
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-08-19 02:50 PM
You can use the "Start Process" Action within the "Utility - Environment" VBO for this below is an example of how this could be done. e.g.
Inputs:
Application = "cmd.exe"
Arguments = ""/c if not exist ""c:\temp\bp-new-folder"" (mkdir ""c:\temp\bp-new-folder"")"
Please note that the "Start Process" Action does not handle any exit codes
------------------------------
James Marsh
Technical Consultant
Blue Prism
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-08-19 05:07 PM
------------------------------
Ishan Mahajan
India
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-07-21 08:35 PM
I used your method to run a python code. I don't need output into BluePrism. I passed arguments like this.
"python3" & """" &[script_file_path]&""""
this evaluated right. I am wondering Why it is not printed on the cmd screen.
Any Help will be greatly appreciated. All the other forms on this topic talk about using the code stage. I want to do it without using the code stage and application modeler. Is it Possible?
Any help is greatly appreciated.
Thanks in Advance
------------------------------
Morampudi Sowmya
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-21 07:41 PM
To attach cmd you need give the window title parameter as
And through global send keys I passed the command and {ENTER}.
Thank you
------------------------------
Morampudi Sowmya
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-21 09:54 PM
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-21 07:30 PM
BTW I follow your content on youtube. They helped me have a smooth blue prism journey. Thanks for the content.
------------------------------
Morampudi Sowmya
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-07-21 08:51 PM
So, let me just start with this. Are you saying you tried using the Environment VBO's action "Start Process" or better yet "Start Process Read Stderr and Stdout" which can give you outputs from your command line call. And you mentioned that something wasn't printed out to the command window. A command prompt window will not necessarily pop up. Something you could do is add a pause command so that the window stays open, but I would assume that the window would close immediately by default once it's done with its task.
Glad you found the YouTube content helpful!
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
