Hi, im making a program that when a user enters a path in a textbox and presses enter it will start that process. So far it works fine except it doesnt accept arguments.
Because the Process.Start method only accepts a path and arguments as seperate strings i need to work out how to seperate them.
So for example if the user enters "C:\Program Files\myapp\test.exe /r /t" then i want to be able to get "C:\Program Files\myapp\test.exe" and "/r /t" as seperate strings... Does anyone have any idea of how to implement this?
Dan
Because the Process.Start method only accepts a path and arguments as seperate strings i need to work out how to seperate them.
So for example if the user enters "C:\Program Files\myapp\test.exe /r /t" then i want to be able to get "C:\Program Files\myapp\test.exe" and "/r /t" as seperate strings... Does anyone have any idea of how to implement this?
Dan