Skip to content

Releases: Water-Run/Bat-KV

Bat-KV v1.0 Release

21 Sep 15:50

Choose a tag to compare

Bat-KV.zip

Bat-KV v1.0 Release

This is the first official release of Bat-KV, a lightweight, zero-dependency key-value database for Windows Batch scripts.

Features

  • Single-file implementation: Bat-KV.bat
  • Provides simple CRUD operations: BKV.New, BKV.Append, BKV.Fetch, BKV.Remove, BKV.Include
  • Human-readable .bkv text format (key\value)
  • No external dependencies; runs under standard Windows environments
  • Suitable for configuration management, data persistence, and basic querying

Included

  • Bat-KV.bat — core database functions
  • Basic-Test.bat — basic usage test
  • Basic-Test.bat — a basic DBMS for Bat-KV
  • Documentation

Getting Started

  1. Download and unzip the release package.
  2. Place Bat-KV.bat in your project or in a directory available via PATH.
  3. Import and call functions within your batch scripts.
call Bat-KV.bat :BKV.New
call Bat-KV.bat :BKV.Append "username" "Alice"
call Bat-KV.bat :BKV.Fetch "username"
echo Username: %BKV_RESULT%

Bat-KV provides a straightforward way to manage persistent data in batch scripts while keeping the implementation minimal and transparent.

Bat-KV v2.0 Release

12 Dec 05:53

Choose a tag to compare

Bat-KV.zip

Bat-KV v2.0 Release

This is a major update of Bat-KV, a lightweight, zero-dependency key-value database for Windows Batch scripts.

What's New in v2.0

  • New file format: Fixed-width key field (36 characters, backslash-padded) + value
  • Empty value support: Values can now be empty strings
  • Special character support: Values can contain any character including backslashes
  • Breaking change: v1.x .bkv files are not compatible with v2.0

Features

  • Single-file implementation: Bat-KV.bat
  • Provides simple CRUD operations: BKV.New, BKV.Append, BKV.Fetch, BKV.Remove, BKV.Include
  • Plain text .bkv format with fixed-width key field
  • No external dependencies; runs under standard Windows environments
  • Suitable for configuration management, data persistence, and basic querying

Included

  • Bat-KV.bat — core database functions
  • BKV-Test.bat — basic usage test
  • BKV-DBMS.bat — a basic DBMS for Bat-KV
  • Documentation

Getting Started

  1. Download and unzip the release package.
  2. Place Bat-KV.bat in your project or in a directory available via PATH.
  3. Import and call functions within your batch scripts.
call Bat-KV.bat :BKV.New
call Bat-KV.bat :BKV.Append "username" "Alice"
call Bat-KV.bat :BKV.Append "path" "C:\Users\test"
call Bat-KV.bat :BKV.Fetch "username"
echo Username: %BKV_RESULT%

Bat-KV provides a straightforward way to manage persistent data in batch scripts while keeping the implementation minimal and transparent.