I have an idea, this is what i did with a similar "echo" command for one of my control panels. I would rebuild the string array. Like so.. (assume args is the argument array)
Code:
string text = "";
foreach(string arg in args)
{
if(text == "")
{
text += arg;
}
else
{
text += " " + arg;
}
}
Sort of a hack job but it did the trick for me.
**edit again**
I'll add the processing code too. Then assume that each argument would be prepended with a ":" (not allowed in folder names).
Code:
string[] arguments = text.Split(char.Parse(":"));
solution_dir = arguments[0];
project_dir = arguments[1];
project_name = arguments[2];
arguments = arguments[3];
**end of edit**