Use of 'Copy Selected Text' activity

To type commands into command prompt:
1)assign the command to a variable.
2)set to clipboard that variable.
3)Right click on the command prompt , so that the command will be pasted in the command prompt.
4)Send hot keys - enter

To get all data from command prompt:
1)send hot key → Alt + space which is equal to (Alt+" ")
2)send hot key ->es
When copy selected text activity is not working as expected then,
3)Click activity - right click (this will copies all info from command prompt)
4)Get from Clipboard - set to a variable
5)You can use write text file activity and save it or you can use as required for the process.

Thanks,
Ganesh