Batch file crash unexpectedly only after executing 1 command

@echo off

echo -----------------************************----------------------

set /p empid="Enter Your Employee Id = "

set /p password="Enter Password = "

echo executing commands.....

npm config set proxy http://%empid%:%password%@proxy.company.com:8080

echo ....

npm config set https-proxy http://%empid%:%password%@proxy.company.com:8080

echo Done!

pause

cmd close after executing -> "npm config set proxy http://%empid%:%password%@proxy.company.com:8080"

I'am not sure this command execute successfully or not.

I think the problem starts from "@proxy.company.com" here @ is creating problem, any suggestion to execute same command.