I've created a .NET console application that gets some command line arguments.

When I pass args with white spaces, I use quotes to embrace these arguments so that they are not splitted by cmd:

```
C:\MyAppDir> MyApp argument1 "argument 2" "the third argument"

```

If I execute the app in Windows XP it works fine: it gets 3 arguments:

* argument1
* argument 2
* the third argument

However, if i execute it in Windows Server 2008 it seems to ignore quotes: it gets 6 arguments:

* argument1
* "argument
* 2"
* "the
* third
* argument"

Any ideas why?

NOTE: I printed arguments just when Main starts execution using this code:

```
Console.WriteLine("Command line arguments:");
foreach (string arg in args)
{
    Console.WriteLine("# " + arg);
}

```
['https://Stackoverflow.com/questions/10548777', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/150370/']
Please Try it.

C:\MyAppDir> MyApp argument1 \"argument 2\" \"the third argument\"
You can try, put each arguments between Quota"" and in the paths put double backslash for example like that:

generadorPlantillasPDF.exe "C:\GDI\desarrollos\celula canales\proyectos\Progreso\curso xml\" generadorprogreso.xml C:\Temp\ BVI "C:\GDI\desarrollos\celula canales\proyectos\Progreso\plantilla\" "C:\GDI\desarrollos\celula canales\proyectos\Progreso\" "Formulario Progreso Version 2.0.docx" C:\Temp\