Paul Bruen (PaulB784)
Nationwide Building Society

Nationwide Building Society
PaulB784 Member since 2017 8 posts
Nationwide Building Society
Posted: July 4, 2019
Last activity: February 17, 2021
Posted: 4 Jul 2019 9:22 EDT
Last activity: 17 Feb 2021 10:12 EST

Closing a Command Line Screen


We are creating an automation to read data from a spreadsheet then create a Command Line prompt to call SQLCMD to execute a call to SQL Server. The command reads in a SQL file and outputs to a CSV. The process will eventually do this around 20 times. This part all works fine so far....

However, how in our automation can we close the CMD window after each call has finished? Some of the calls will take quite a while to produce the file, but ideally we'd like to "tidy up" along the way, rather than waiting for the automation to complete before all CMD windows naturally close.

I've attached a view of the automation and cmd line call.

Any help with the automation would be gratefully received.

Many thanks


Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.