Passing of commands to windows Command Prompt window
Hi, I am new to Openspan tool. For my project, I need to pass commands to command prompt. By using text editor, I am able to trigger command prompt but could not pass the commands (like MKDIR, CD..) to command prompt window. I am using Windows 10 OS in my system. Could someone please help me to overcome this issue.
Add System.IO.Directory Exists method and System.IO.Directory CreateDirectory method.
See attached how to and sample automation.
For just C#: To do this you will need to open a command prompt and then communicate with it using the .Net class System.Diagnostics.Process. Here is a short article on how to do this in C#. You can use this in a script.