# bes-ptah/winbatchos architecture

> Architecture diagram of the GitHub repository bes-ptah/winbatchos, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bes-ptah/winbatchos
- Repository: https://github.com/bes-ptah/winbatchos

## Overview

winbatchOS is a batch-script operating-system project that aims to provide a Windows 11-like desktop and kernel. The tree contains several versioned runtime entry points and, in 20.S.1212, GUI scripts and bundled command-line utilities. The README describes the product at a high level but gives no component wiring, and no source excerpts are available, so the graph avoids asserting calls between those components.

Main entry points: [`src/winbatchOS.bat`](https://github.com/bes-ptah/winbatchos/blob/master/src/winbatchOS.bat) (winbatchOS)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["OS runtimes"]
  node_root_os["winbatchOS<br/>[winbatchOS.bat]"]
  node_os_20s["WinBatchOS 20.S<br/>[WinBatchOS.bat]"]
  node_os_20["WinBatchX 20<br/>[WinBatchX.bat]"]
  node_os_19["WinBatchX 19<br/>[WinBatchX.bat]"]
  node_os_19_launcher["SRX-WBX<br/>[srx-wbx.bat]"]
  node_os_11["Build 11.0<br/>[11.0.10010.51.bat]"]
end

subgraph group_desktop["Desktop components"]
  node_box["Box GUI<br/>[Box.bat]"]
  node_button["Button GUI<br/>[Button.bat]"]
end

subgraph group_system["System utilities"]
  node_getinput["GetInput<br/>[GetInput.exe]"]
  node_getlen["Getlen<br/>[Getlen.bat]"]
  node_batbox["batbox<br/>[batbox.exe]"]
  node_cmdmenusel["cmdmenusel<br/>[cmdmenusel.exe]"]
  node_wget["wget<br/>[wget.exe]"]
end

node_user(("User"))

node_user -->|"starts"| node_root_os

click node_root_os "https://github.com/bes-ptah/winbatchos/blob/master/src/winbatchOS.bat"
click node_os_20s "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/WinBatchOS.bat"
click node_os_20 "https://github.com/bes-ptah/winbatchos/blob/master/src/20.0.2306/WinBatchX.bat"
click node_os_19 "https://github.com/bes-ptah/winbatchos/blob/master/src/19.0.2305/WinBatchX.bat"
click node_os_19_launcher "https://github.com/bes-ptah/winbatchos/blob/master/src/19.0.2305/srx-wbx.bat"
click node_os_11 "https://github.com/bes-ptah/winbatchos/blob/master/src/11.0.10010.51.bat"
click node_box "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/Box.bat"
click node_button "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/Button.bat"
click node_getinput "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/GetInput.exe"
click node_getlen "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/Getlen.bat"
click node_batbox "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/batbox.exe"
click node_cmdmenusel "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/cmdmenusel.exe"
click node_wget "https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/wget.exe"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_root_os,node_os_20s,node_os_20,node_os_19,node_os_19_launcher,node_os_11,node_user toneBlue
class node_box,node_button toneAmber
class node_getinput,node_getlen,node_batbox,node_cmdmenusel,node_wget toneMint
```

## Components

### OS runtimes

- [winbatchOS](https://github.com/bes-ptah/winbatchos/blob/master/src/winbatchOS.bat): `src/winbatchOS.bat`
- [WinBatchOS 20.S](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/WinBatchOS.bat): `src/20.S.1212/WinBatchOS.bat`
- [WinBatchX 20](https://github.com/bes-ptah/winbatchos/blob/master/src/20.0.2306/WinBatchX.bat): `src/20.0.2306/WinBatchX.bat`
- [WinBatchX 19](https://github.com/bes-ptah/winbatchos/blob/master/src/19.0.2305/WinBatchX.bat): `src/19.0.2305/WinBatchX.bat`
- [SRX-WBX](https://github.com/bes-ptah/winbatchos/blob/master/src/19.0.2305/srx-wbx.bat): `src/19.0.2305/srx-wbx.bat`
- [Build 11.0](https://github.com/bes-ptah/winbatchos/blob/master/src/11.0.10010.51.bat): `src/11.0.10010.51.bat`

### Desktop components

- [Box GUI](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/Box.bat): `src/20.S.1212/System/Box.bat`
- [Button GUI](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/Button.bat): `src/20.S.1212/System/Button.bat`

### System utilities

- [GetInput](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/GetInput.exe): `src/20.S.1212/System/GetInput.exe`
- [Getlen](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/Getlen.bat): `src/20.S.1212/System/Getlen.bat`
- [batbox](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/batbox.exe): `src/20.S.1212/System/batbox.exe`
- [cmdmenusel](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/cmdmenusel.exe): `src/20.S.1212/System/cmdmenusel.exe`
- [wget](https://github.com/bes-ptah/winbatchos/blob/master/src/20.S.1212/System/wget.exe): `src/20.S.1212/System/wget.exe`

### Other components

- **User**

## Connections

- User → winbatchOS: starts
