From 53e43dad657157dcd95bc128fca84b8e4c63e6b2 Mon Sep 17 00:00:00 2001 From: Wish <100239673+wish13yt@users.noreply.github.com> Date: Sat, 19 Oct 2024 12:39:30 -0500 Subject: [PATCH] Add files via upload --- greg.bat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 greg.bat diff --git a/greg.bat b/greg.bat new file mode 100644 index 0000000..7715713 --- /dev/null +++ b/greg.bat @@ -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 \ No newline at end of file