K
K
Kdx_32016-04-29 19:15:51
Command line
Kdx_3, 2016-04-29 19:15:51

How to set the path to a file with a script that opens only in the browser?

How to set the path to a file on the Windows command line that contains a script, but it only opens in the Google Chrome browser and is not downloaded?
(For example: vce-nyznoe.ru/bat/script.bat [There is nothing in the link])

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2016-04-29
@r_zaycev

powershell -Command $url = 'http://vce-nyznoe.ru/bat/script.bat'; $output = 'script.bat'; (New-Object System.Net.WebClient).DownloadFile($url, $output); Start-Process 'cmd.exe'  '/c script.bat'; exit;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question