Here the Code :
@echo off
if "%*"=="" (echo Give me the URL! && exit /b)
echo Output :
set /p output=
powershell Invoke-WebRequest -Uri %* -OutFile output
The problem in this code I've written is output variable
how to send that variable into powershell ?