Hi,
i have to build a bot to read commands from excel file and Run them in Cygwin (similar to CMD prompt). can anyone help on this,
thank you,
Hi,
i have to build a bot to read commands from excel file and Run them in Cygwin (similar to CMD prompt). can anyone help on this,
thank you,
HI @rajthyaga53
Can you please tell us more info about your task?
What type of commands? Some screenshots ?
Regards
Sudharsan
Read the data in to datatable using read range
Now use a for each row in datatable to loop through each command
Then use start process to start the cngwin and pass the arguments as the currentrow(columnname).tostring
This will invoke each command
Cheers
commands contains server details, i have to check server status for different servers
i think i can’t share that information
Hi @rajthyaga53
Hi thank you , it worked till executing commnads, but how to extract output data and store in excel file
Hy @rajthyaga53 ,
what variable need to be given in datatable field
Output datatable is empty…please check if it is given data or not.You can do so by running in debug mode and check locals panel…use some break points to pause to check if data is present
Cheers
thats where i am stuck, not able to store output data
Where is your data?
If in webpage use extract datatable and store it
If in excel then use read range
cheers
iam getting the output in cygwin(similar to CMD prompt), how to extract it
Try attaching to the cmd window and try to extract the data…or in your cmd …try to execute a save command and save the data to excel then read it from there
cheers