How to set the path to the script file, which opens only in the browser?

How to set the path to the file in the Windows command prompt, which has a script, but it opens only in Google Chrome browser, and not downloaded?
(For example: [In reference to nothing])
July 12th 19 at 16:41
1 answer
July 12th 19 at 16:43
powershell -Command $url = ''; $output = 'script.bat'; (New-Object System.Net.WebClient).DownloadFile($url, $output); Start-Process 'cmd.exe' '/c script.bat'; exit;

Find more questions by tags Command line