Hi, How can we read the data from the cmd command promt and write into it.
Thank you
Hi, How can we read the data from the cmd command promt and write into it.
Thank you
Thanks for your suggestion, I used it but i am getting all the content on the on the command promt I need only a specific line to be read, is there any possibility for that.
Thanks for your suggestion, I used it but i am getting all the content on the on the cmd I need only a specific line to be read, is there any possibility for that.
Thank you.
do you have any document regarding string manipulation.
Could you please share that text the one you are reading it from CMD and then tell which line you want to read it.
If it is confidential then share some sample text or send me personally.
Hi @anudeep_k,
Welcome to the Community.
First split the string by lines by referring below post.
How to split a variable value with respect to each each line? RPA Dev Advanced
Try: yourText.Split(Environment.NewLine.ToArray, StringSplitOptions.RemoveEmptyEntries). Hope it works!
Then you can fetch the specific value by index.
Check if you can execute those commands via powershell , if yes you can use Invoke powershell , and get its output. you would just need to check the IsScript box , this ways your command would be executed as is without parsing.
Thank you for you support
Thank you for you suggestion
Thank you