Windows 常用操作一键搞定的脚本工具箱 / A drag-and-drop script toolkit for everyday Windows tasks
WinQuickTools is a collection of batch and PowerShell scripts for Windows 10/11. Each tool turns a tedious multi-click system operation into a drag-and-drop or double-click action. No installers, no dependencies, no build steps — download and run.
WinQuickTools 是给 Windows 10/11 用户准备的脚本工具合集。把那些「点好多层菜单才能搞定」的系统操作,做成拖一下或双击就完事的小工具。下载即用,不装环境,不搞依赖。
| Tool / 工具 | Status / 状态 | Description / 说明 |
|---|---|---|
| SetRunAsAdmin | Prototype ready / 已有原型 | Batch-set .exe or .lnk to run as administrator / 批量设置以管理员身份运行 |
| OpenHereTools | Planned / 规划中 | Open terminal or explorer at current directory / 在当前目录快速打开终端或资源管理器 |
| FileNameTools | Planned / 规划中 | Batch rename, strip special chars, append date / 批量重命名、清理文件名、追加日期 |
| PathTools | Planned / 规划中 | Copy file path, short path, directory path / 复制文件路径、短路径、目录路径 |
| NetworkTools | Planned / 规划中 | Quick network checks: ping, port test, DNS / 常用网络检查 |
| CleanupTools | Planned / 规划中 | Clean temp dirs, logs, empty folders with confirmation / 清理临时目录和空文件夹 |
Design principles / 设计原则:
- Drag files onto script icon to run / 拖拽文件到脚本图标即可运行
- Supports multiple files at once / 支持多文件批量处理
- Handles Chinese paths and paths with spaces / 支持中文路径和空格路径
- Clear Chinese output with success/fail/skip status / 中文输出,区分成功、失败、跳过
- Never silently performs dangerous operations / 高风险操作必有确认提示
- Preserves existing user settings / 保留已有设置,不做无关覆盖
- Windows Batch (.bat) — Entry point for each tool. CRLF line endings, no BOM, starts with
@echo off - PowerShell — Handles registry writes and .lnk binary flag manipulation (invoked inline via
powershell -NoProfile -ExecutionPolicy Bypass) - Windows Registry / built-in commands (
reg.exeetc.) - Zero external dependencies. No build step. No package manager.
WinQuickTools/
tools/
SetRunAsAdmin/
SetRunAsAdmin.bat # Batch set run-as-admin
README.md
docs/
OUTLINE.md # Project outline
ROADMAP.md # Roadmap
TOOL_SPEC.md # Tool specification
templates/
TOOL_README_TEMPLATE.md # Template for new tools
README.md
SECURITY.md
Each tool lives in tools/<ToolName>/. Check its README, then run the .bat.
每个工具在 tools/<工具名>/ 目录下,看说明,跑 .bat 就行。
Batch-set .exe or .lnk files to always run as administrator.
批量把 .exe 或 .lnk 设置为「以管理员身份运行」。
How to run / 运行方式:
- Drag one or more
.exe/.lnkfiles ontoSetRunAsAdmin.bat - Or double-click the script, then drag files into the window and press Enter
- 把文件拖到脚本图标上,或者双击脚本后拖入文件路径回车
Output example / 输出示例:
[成功] 已处理:路径
[失败] 原因:具体原因
[跳过] 不支持:路径
结果:成功 1 个,失败 0 个,跳过 0 个。
How it works / 工作原理:
- For
.exe: writesRUNASADMINflag to current-user registry atHKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers(preserves existing compat flags) - For
.lnk: modifies the shortcut file header to set the admin run flag - UAC prompt will appear when launching the configured program
SetRunAsAdmin.bat reads these environment variables:
RUNASADMIN_BAT_NOPAUSE— Set to1to skip the finalpause(useful for automation or unattended runs)
SetRunAsAdmin.bat 支持的环境变量:
RUNASADMIN_BAT_NOPAUSE— 设为1则脚本结束不暂停(适合自动化调用)
- v0.1 — Project structure, SetRunAsAdmin prototype, tool spec
- v0.2 — Path copy tool, filename cleanup tool, unified template
- v0.3 — Menu launcher, release packaging, screenshots
- v1.0 — At least 5 stable tools with docs and test records, first GitHub Release
Early development (WIP). Project framework and specs are in place. SetRunAsAdmin has a working prototype; other tools are planned.
开发早期。项目框架和规范已经搭好,SetRunAsAdmin 有可运行原型,其他工具还在规划中。
No license specified yet. All rights reserved until a LICENSE file is added.
暂未指定开源协议,添加 LICENSE 文件前默认保留所有权利。