EN: A transparent, reversible, community-friendly collection of practical Windows BAT utilities.
中文: 一个开源透明、操作可恢复、方便持续扩展的 Windows BAT 实用工具集合。
Repository / 仓库: fduwj/windows-bat-toolkit
English · 简体中文 · Tool catalog / 工具目录 · Roadmap / 路线图
| Tool / 工具 | Purpose / 用途 | Admin / 管理员 | Status / 状态 |
|---|---|---|---|
| Shortcut Arrow Fixer / 快捷方式箭头修复 | Hide or restore arrows and repair black squares / 隐藏或恢复箭头,修复黑色方块 | Yes / 是 | ✅ Stable / 稳定 |
Machine-readable catalog / 机器可读工具清单:tools/catalog.json
More tools are coming. Each tool will remain readable, independently runnable, documented, and reversible whenever possible.
后续会持续加入更多工具;每个工具都会尽量做到源码可读、独立运行、说明清晰、操作可恢复。
WinBAT Toolkit is an open-source home for small Windows batch utilities that solve focused, everyday problems without requiring an installer.
Use the unified launcher WinBatToolkit.bat, or run any tool directly from the tools/ directory.
- Download the latest release or clone the repository.
- Extract the complete package.
- Double-click
WinBatToolkit.bat. - Select a tool from the bilingual menu.
- Approve administrator access only when the selected tool needs it.
You can also download and run a tool directly from its own directory.
Useful BAT scripts are often scattered across forum posts, copied without documentation, or distributed as opaque executables. This repository turns focused scripts into a maintained toolkit with:
- bilingual English and Chinese documentation;
- a predictable directory structure;
- a machine-readable tool catalog;
- automatic repository validation;
- explicit administrator requirements;
- restore instructions and safety notes;
- no installer, telemetry, advertising, or bundled executable.
windows-bat-toolkit/
├─ WinBatToolkit.bat # Unified bilingual launcher
├─ ShortcutArrowFixer.bat # Compatibility copy of the original tool
├─ tools/
│ ├─ catalog.json # Machine-readable tool index
│ └─ shortcut-arrow-fixer/
│ ├─ README.md
│ └─ ShortcutArrowFixer.bat
├─ scripts/
│ └─ Validate-Repository.ps1 # Metadata and compatibility validation
├─ docs/
├─ .github/workflows/
├─ CONTRIBUTING.md
├─ ROADMAP.md
└─ SECURITY.md
- Windows 10 or Windows 11
- Windows Command Prompt and Windows PowerShell
- Administrator approval only for tools that change system-level settings
- Readable: source code stays visible and reviewable.
- Focused: one script should solve one clearly documented problem.
- Reversible: system changes should include a restore path whenever possible.
- Offline-first: tools should not require a network connection unless clearly disclosed.
- No bundled binaries: prefer built-in Windows commands over opaque executables.
- Bilingual: important user-facing documentation should support English and Simplified Chinese.
- Safe automation: validation must never execute scripts that change system settings.
WinBAT Toolkit 是一个持续收集 Windows 实用 BAT 脚本的开源工具箱,目标是解决日常系统设置、修复、维护和效率问题,不依赖安装程序。
你可以运行统一入口 WinBatToolkit.bat,也可以进入 tools/ 目录单独运行某个工具。
- 下载最新的发布版本,或者克隆完整仓库。
- 解压完整工具包。
- 双击运行
WinBatToolkit.bat。 - 在中英双语菜单中选择工具。
- 只有在工具确实需要修改系统设置时,才确认管理员权限。
也可以进入具体工具目录,单独下载和运行对应的 BAT 文件。
网上很多 BAT 脚本散落在论坛、评论区或网盘中,常见问题包括没有说明、无法恢复、来源不透明,甚至被包装成无法检查的 EXE。
这个仓库希望把实用脚本整理成一个长期维护的工具阵地:
- 根目录中英文双语说明;
- 统一、清晰的工具目录结构;
- 可供程序读取的 JSON 工具清单;
- 自动检查工具文件和兼容副本;
- 明确标注是否需要管理员权限;
- 提供恢复方法、安全说明和修改范围;
- 无安装器、无广告、无遥测、无捆绑 EXE。
windows-bat-toolkit/
├─ WinBatToolkit.bat # 中英双语统一启动器
├─ ShortcutArrowFixer.bat # 原工具兼容副本
├─ tools/
│ ├─ catalog.json # 工具清单
│ └─ shortcut-arrow-fixer/
│ ├─ README.md
│ └─ ShortcutArrowFixer.bat
├─ scripts/
│ └─ Validate-Repository.ps1 # 安全校验脚本,不运行系统修改工具
├─ docs/
├─ .github/workflows/
├─ CONTRIBUTING.md
├─ ROADMAP.md
└─ SECURITY.md
- Windows 10 或 Windows 11
- 系统自带命令提示符与 Windows PowerShell
- 只有修改系统级设置的工具才需要管理员权限
- 源码透明: BAT 内容必须可直接查看和审查。
- 单一职责: 每个工具只解决一个明确问题。
- 可恢复: 修改系统设置时,尽量提供恢复入口。
- 离线优先: 默认不依赖网络,需要联网时必须明确说明。
- 不捆绑程序: 优先使用 Windows 自带命令,不包装来源不明的 EXE。
- 中英双语: 重要的用户说明同时支持英文和简体中文。
- 安全自动化: 自动检查只验证文件和元数据,不执行会修改系统的 BAT。
Windows BAT 工具箱 · Windows 批处理工具 · Windows 一键修复 · Windows 10 工具 · Windows 11 工具 · 快捷方式箭头 · 桌面图标黑色方块 · 系统维护 BAT · 注册表修复工具
See CONTRIBUTING.md for the required directory, documentation, metadata, safety, and restore conventions.
添加新工具前,请查看 CONTRIBUTING.md 中的目录、文档、元数据、安全和恢复规范。
Planned categories include desktop customization, system repair, file management, network diagnostics, privacy, development helpers, and maintenance automation.
计划覆盖桌面美化、系统修复、文件管理、网络诊断、隐私设置、开发辅助和维护自动化等方向。
See ROADMAP.md / 查看 ROADMAP.md。
Issues and pull requests are welcome. Please never submit scripts copied from unknown sources without reviewing and documenting every command.
欢迎提交 Issue 和 Pull Request。请勿直接提交来源不明、未经逐行检查和说明的脚本。
Useful? Please ⭐ star the repository and share it.
如果这个工具箱对你有帮助,欢迎点一个 ⭐ 并分享给更多人。