Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
wish13yt authored Oct 19, 2024
1 parent f28a0f0 commit 53e43da
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions greg.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@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

0 comments on commit 53e43da

Please sign in to comment.