How to solve URL is not recognized error in windows 10?

  amazon-web-services, aws-lambda, windows

I need to run the following command to download aws layer.

$ URL=$(aws lambda get-layer-version --layer-name dev-application-connector-layer --version-number 56 --query Content.Location --output text)
    curl $URL -o layer.zip

when run the command its showing URL is not recognized error.

May i know the way to address this issue. i have added environment variable for windows but its not solved.

Source: Windows Questions

LEAVE A COMMENT