Link to home
Start Free TrialLog in
Avatar of sykotex
sykotexFlag for United Kingdom of Great Britain and Northern Ireland

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
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Are you talking about a Console application, that can interact with the Console?  Or, are you talking about using System.Diagnostics.Process?
Avatar of sykotex

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
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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