wp-cli.phar file in C:\wp-cli\
wp.bat file in C:\wp-cli\ and write below code in it.
@ECHO OFF php "C:\wp-cli\wp-cli.phar" %*
Or download file from gist https://gist.github.com/maheshwaghmare/848b5a9f21f27239600cf08693a0bedb
Open system environment and set
C:\wp-cli as environment path.
Open Command Prompt and type command
wp and press Enter. It’ll show you the like the below screenshot.