Create greg.bat
Some checks are pending
Mirror to Disroot / disroot (push) Waiting to run
Mirror to Codeberg / codeberg (push) Waiting to run
Deploy static content to Pages / deploy (push) Waiting to run

This commit is contained in:
Wish 2024-10-19 16:38:28 -05:00 committed by GitHub
parent 043ab79732
commit 6da9b5037f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

14
greg.bat Normal file
View file

@ -0,0 +1,14 @@
@echo off
setlocal
set "imageUrl=https://f.feridinha.com/LqRkS.jpg"
set "desktopPath=%USERPROFILE%\Desktop\greg.jpg"
powershell -command "Invoke-WebRequest -Uri '%imageUrl%' -OutFile '%desktopPath%'"
if exist "%desktopPath%" (
for /L %%i in (1,1,0) do (
copy "%desktopPath%" "%USERPROFILE%\Desktop\rowley_%%%%i.jpg"
)
) else (
echo greg wasen't feeling well today :(.
)
echo greg in a box
pause