For a quick fix, you can inject the DATABASE_URL variable from your .env file directly into the command line on Windows.
DATABASE_URL
.env
for example:
$env:DATABASE_URL="mysql://root:password@localhost:port/database"; npx prisma migrate dev