Issue running project using docker

I am completely new at using docker. I was asked to install docker in my windows machine and run the project with given command.

docker run -it -p 8000:80 --rm -v "$PWD":/var/www/html registry.XXXXXX/docker-images/legacy-admin:master

I am running windows so instead of $PWD, I used “D:/projects/”

But I am getting following error

C:Program FilesDockerDockerResourcesbindocker.exe: invalid reference format.
See 'C:Program FilesDockerDockerResourcesbindocker.exe run --help'

Can anybody please help me solve this.

Thank You.

Source: StackOverflow