Double-quotes instead of single quotes (UnexpectedValueException in Windows 8)

Using single quotes in Windows command prompt (Windows 8 Pro) returns the following error:
C:\Users\Galdiolo>composer create-project symfony/framework-standard-edition myproject/ '~2.3'
  [UnexpectedValueException]
  Could not parse version constraint '~2.3': Invalid version string "'~2.3'"