WinBatch

1 program Added 2026-02-07T12:18:41.686339Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: WinBatch Studio, WIL
Provenance: commit f6f8fa3186 · authored 2026-02-07T13:19:34+01:00 · agent claude-code · model sonnet

Sources mentioning this language

3 sources · pl_id: pl/winbatch
LLM (this repo) · 1PldbPygments

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.batpygmentsprimary4.2M files
.cmdpygmentssecondary3.5M files

Related languages

Batch (0.21)Omnis Studio (0.18)Portugol (0.18)DIV (0.18)DIV Games Studio (0.16)

LLM-contributed programs

System Information Display

Provenance: commit f6f8fa3186 · authored 2026-02-07T13:19:34+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.wbt · added: 2026-02-07T12:19:12.995913Z
; WinBatch Example - System Information Display
; This program displays basic system information

; Get computer name
computerName = Environment("COMPUTERNAME")

; Get Windows directory
winDir = DirWindows(0)

; Get program files directory
progFiles = DirGet(@PROGRAMFILES)

; Build message
message = "System Information:" : @CRLF : @CRLF
message = message : "Computer Name: " : computerName : @CRLF
message = message : "Windows Directory: " : winDir : @CRLF
message = message : "Program Files: " : progFiles

; Display message box
MessageBox("System Info", message)

Exit

Real programs from Software Heritage

2 samples mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
extractcode.bat · 843 B · ext .bat · seen 3325× in SWH
via fallback
swh:1:cnt:4b7424fc013d5af1a8f695e7e2c50142643f337f;origin=https://github.com/darcyfdu/findlicense;anchor=swh:1:rev:888cfb21a7378408032f60d06ee5598d3228dbc5;path=/extractcode.bat
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
@echo OFF
@rem  Copyright (c) 2015 nexB Inc. http://www.nexb.com/ - All rights reserved.
@rem  


@rem  A minimal shell wrapper to the CLI entry point

set SCANCODE_ROOT_DIR=%~dp0

set SCANCODE_CMD_LINE_ARGS= 
set SCANCODE_CONFIGURED_PYTHON=%SCANCODE_ROOT_DIR%\bin\python.exe

@rem Collect all command line arguments in a variable
:collectarg
 if ""%1""=="""" goto continue
 call set SCANCODE_CMD_LINE_ARGS=%SCANCODE_CMD_LINE_ARGS% %1
 shift
 goto collectarg

:continue


if not exist "%SCANCODE_CONFIGURED_PYTHON%" goto configure
goto scancode

:configure
 echo * Configuring ScanCode for first use...
 set CONFIGURE_QUIET=1
 call "%SCANCODE_ROOT_DIR%\configure" etc/conf
 if %errorlevel% neq 0 (
    exit /b %errorlevel%
 )

:scancode
"%SCANCODE_ROOT_DIR%\bin\extractcode" %SCANCODE_CMD_LINE_ARGS%

:EOS
ToCHT.bat · 1023 B · ext .bat · seen 2801× in SWH
via fallback
swh:1:cnt:2c9538b1775e2d9e5fbc7301d8bb66feb6b8e554;origin=https://github.com/mirbeta/MirClient;anchor=swh:1:rev:3dbba7d20f647e2716a1cacacdfe233e1695c33f;path=/Components/cnvcl/Source/ToCHT.bat
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
@ECHO CnPack Component Package
@ECHO CHT Resource Files will be Copied to overwrite CHS Files 
@PAUSE
copy .\Lang\1028\CnGraphConsts.pas   .\Graphics\CnGraphConsts.pas  /Y
copy .\Lang\1028\CnLangConsts.pas    .\MultiLang\CnLangConsts.pas  /Y
copy .\Lang\1028\CnNetConsts.pas     .\NetComm\CnNetConsts.pas     /Y
copy .\Lang\1028\CnAAFontDialog.dfm  .\Graphics\CnAAFontDialog.dfm /Y
copy .\Lang\1028\CnCompAboutFrm.dfm  .\Common\CnCompAboutFrm.dfm   /Y
copy .\Lang\1028\CnFoxmailMsgFrm.dfm .\ObjRep\CnFoxmailMsgFrm.dfm  /Y
copy .\Lang\1028\CnProgressFrm.dfm   .\ObjRep\CnProgressFrm.dfm    /Y
copy .\Lang\1028\CnRS232Dialog.dfm   .\NetComm\CnRS232Dialog.dfm   /Y
copy .\Lang\1028\CnCompConsts.pas    .\NonVisual\CnCompConsts.pas  /Y
copy .\Lang\1028\CnConsts.pas        .\Common\CnConsts.pas         /Y
copy .\Lang\1028\CnDockGlobal.pas    .\NonVisual\CnDockGlobal.pas  /Y
copy .\Lang\1028\CnDBConsts.pas      .\DbReport\CnDBConsts.pas     /Y
@ECHO CnPack Component Package: CHT Resource Files Copied.
@PAUSE

Contribute — propose a file extension

Tell us where to find evidence about WinBatch (mapped to pl/winbatch). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/WinBatch/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Win32 Message File WinBUGS →