sykotex
asked on
Visual Basic 2010 Shell command to change foler and run command in the folder
Hi
I am writting a small program in Visual Basic studio 2010, I would like to shell to a command prompt change the working directory then run a command still within the working directory, can anyone tell me how this can be achieved
I am writting a small program in Visual Basic studio 2010, I would like to shell to a command prompt change the working directory then run a command still within the working directory, can anyone tell me how this can be achieved
Are you talking about a Console application, that can interact with the Console? Or, are you talking about using System.Diagnostics.Process ?
ASKER
I'm a begginer so I may not be to clear. I have a program which runs from a command line. I am writting a windows form front end that will ulimatley run this program with its switches at the end. The switches for the command line program use file paths which don't appear to work if a full path is entered
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
please go through the following link, it clearly tells how to add console in a windows form:-
http://stackoverflow.com/questions/252323/how-do-i-add-a-console-like-element-to-a-c-winforms-program
http://stackoverflow.com/questions/252323/how-do-i-add-a-console-like-element-to-a-c-winforms-program