ChatCrawlersearch across public Telegram Open the app
B

Batch Language

395 members
26 August 2026
Since I know all the constraints, but typing them out and fighting with the model takes much longer than just typing out the code that satisfies the constraints
T
I mean, this also doesn't satisfy my style guide at all, so I wouldn't be happy with it anyway
D
Let's see how GPT Sol does. It has been running for a while now
D
I don't want AI to run random batch scripts on my computer
T
I have more knowledge nuggets that should have been in there
T
Rust is kind of like batch
T
I mean the macro capabilities have the same amount of thought put into them
setlocal EnableExtensions DisableDelayedExpansion if /i "%~1"=="--watchdog" goto :watchdog set "EXIT_USAGE=2" set "EXIT_FAILURE=125" set "EXIT_TIMEOUT=124" if "%~1"=="" goto :usage if "%~2"=="" goto :usage if not "%~3"=="" ( >&2 echo ERROR: Pass the child command as one quoted argument. endlocal & exit /b %EXIT_USAGE% ) call :parse_seconds "%~1" if errorlevel 1 ( >&2 echo ERROR: SECONDS must be an integer from 1 through 99999. endlocal & exit /b %EXIT_USAGE% ) set "seconds=%PARSED_SECONDS%" set "temp_root=%TEMP%" if not defined temp_root set "temp_root=%TMP%" if not defined temp_root ( >&2 echo ERROR: No temporary directory is configured. endlocal & exit /b %EXIT_FAILURE% ) if not defined ComSpec ( >&2 echo ERROR: ComSpec is not defined. endlocal & exit /b %EXIT_FAILURE% ) set "attempts=0" :allocate_state set /a attempts+=1 >nul set "run_id=%RANDOM%%RANDOM%%RANDOM%" set "state_dir=%temp_root%\killtimer_%run_id%" 2>nul md "%state_dir%" if not errorlevel 1 goto :state_ready if %attempts% LSS 10 goto :allocate_state >&2 echo ERROR: Could not create a temporary working directory. endlocal & exit /b %EXIT_FAILURE% :state_ready set "worker_name=ktw_%run_id%.exe" set "watchdog_name=ktd_%run_id%.exe" set "worker_exe=%state_dir%\%worker_name%" set "watchdog_exe=%state_dir%\%watchdog_name%" set "timeout_file=%state_dir%\timed_out" rem Unique executable names let TASKKILL target this invocation without a PID. >nul copy /y /b "%ComSpec%" "%worker_exe%" if errorlevel 1 goto :initialization_failed >nul copy /y /b "%ComSpec%" "%watchdog_exe%" if errorlevel 1 goto :initialization_failed set "KILLTIMER_SECONDS=%seconds%" set "KILLTIMER_WORKER_NAME=%worker_name%" set "KILLTIMER_TIMEOUT_FILE=%timeout_file%" start "" /min "%watchdog_exe%" /d /e:on /v:off /q /c call "%~f0" --watchdog if errorlevel 1 goto :initialization_failed start "" /b /wait "%worker_exe%" /d /e:on /v:off /q /s /c %2 set "child_exit=%errorlevel%" "%SystemRoot%\System32\t
It's making folders and shit
27 August 2026
K
GIF
kitty-cat.mp4 · 154 KB · click to show
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog