Public Access
6 lines
364 B
Batchfile
6 lines
364 B
Batchfile
@echo off
|
|||
|
|
echo Downloading WinSCP...
|
||
|
|
powershell.exe -ExecutionPolicy Bypass -Command ^
|
||
|
|
"$url = 'https://winscp.net/download/WinSCP-6.3.6-Automation.zip'; $zip = '%TEMP%\winscp.zip'; $dest = '%~dp0WinSCP'; Invoke-WebRequest -Uri $url -OutFile $zip; Expand-Archive -Path $zip -DestinationPath $dest -Force; Write-Host 'WinSCP ready.' -ForegroundColor Green"
|
||
|
|
pause
|