1.3
Compatibility
Changes
📦syscmd v1.3nt分支 全功能 🔹 命令执行 /cmd exec <命令> — 安全执行 CMD(自动转义) /cmd raw <命令> — 原样执行 CMD /cmd pwsh <命令> — PowerShell 执行(推荐,Base64 编码无转义坑) /cmd pwsh-raw <命令> — PowerShell 原样执行 /cmd pwsh-admin <命令> — 管理员权限执行 PS(触发 UAC) /cmd save exec/pwsh <文件> <命令> — 执行并保存输出到文件 🔹 脚本执行 ⭐新 /cmd script run <路径> — 自动识别脚本类型执行 /cmd script ps1 <路径> — 执行 PS1 脚本 /cmd script bat <路径> — 执行 BAT 脚本 🔹 命令别名 ⭐新 /cmd alias — 列出所有别名 /cmd alias add <名称> <命令> — 添加别名 /cmd alias remove <名称> — 删除别名 /cmd alias run <名称> — 执行别名 🔹 系统信息 /cmd sysinfo — 系统总览 /cmd cpu — CPU 详情(型号/主频/核心/负载)⭐新 /cmd gpu — 显卡信息(型号/显存/分辨率/驱动)⭐新 /cmd mem — 内存详情 /cmd disk — 磁盘空间 /cmd uptime — 运行时间 /cmd net — 网络信息 /cmd ping — 连通性测试 /cmd env [key] — 环境变量 🔹 进程管理 /cmd ps [关键词] — 进程列表(支持过滤) /cmd kill — 终止进程(需二次确认) 🔹 文件操作 /cmd ls [路径] — 列目录 /cmd cat <路径> — 读文件 /cmd write <路径> <内容> — 写文件 /cmd del <路径> — 删除(需确认) /cmd mkdir <路径> — 建目录 /cmd find <路径> <关键词> — 搜文件 🔹 实用工具 /cmd open <路径/URL> — 打开文件或网页 /cmd clip <文本> — 复制到剪贴板 /cmd echo <文本> — 输出文本 /cmd shutdown [秒] — 定时关机(需确认) /cmd restart [秒] — 定时重启(需确认) /cmd cancel-shutdown — 取消关机 /cmd lock — 锁屏 ⭐新 /cmd sleep — 睡眠(需确认)⭐新 /cmd hibernate — 休眠(需确认)⭐新 /cmd screenshot — 截图保存 ⭐新 /cmd volume — 查看音量 ⭐新 /cmd volume set <0-100> — 设置音量 ⭐新 /cmd volume mute/unmute — 静音/取消 ⭐新 🔹 失败分析 ⭐新 /cmd why — 分析上条命令失败原因,给解决方案 🔹 历史记录 /cmd history — 查看历史(最多 50 条) /cmd history-search <关键词> — 搜索历史 ⭐新 /cmd clear-history — 清空历史 🔹 安全机制 危险操作二次确认(kill/del/shutdown 等,30 秒超时) PowerShell 危险命令自动拦截 服务端自动禁用
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:xqYURkYp:K1fQfULw"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:xqYURkYp:K1fQfULw"
}

