With this program (cs.exe):

1
2
3
4
5
6
7
8
9
10
class Program
{
static void Main(string[] args)
{
foreach (var item in args)
{
Console.WriteLine(item);
}
}
}

And the runs:

1
2
3
4
5
6
7
8
9
10
11
12
> cs.exe go\to\a_path
go\to\a_path

> cs.exe "go\to\a path"
go\to\a path

> cs.exe "go\to\a path\"
go\to\a path"

> cs.exe 'go\to\a path\'
'go\to\a
path\'

That means if your path has a space so you quote it, be very careful NOT to put a trailing \ at the end, otherwise your program might just not be able to handle it as it incorrectly contains a " at the end. Single quote is even weirder!