Skip to content

Instantly share code, notes, and snippets.

View hastalamuerte's full-sized avatar
👾
What's happening?

hastalamuerte

👾
What's happening?
View GitHub Profile
@echo off
set "Url=https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe"
set "Filename=C:\Users\Public\putty.exe"
@powershell -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command "(New-Object System.Net.WebClient).DownloadFile('%Url%', '%Filename%'); Start-Process '%Filename%'"