一款完全自定义的 CMD 命令行 shell,使用 Java 编写,并具有自己的安装程序。
MyCMD is a fully custom command prompt implemented in Java.
It mimics the behavior of Windows cmd.exe with commands like dir, cd, echo, mkdir, del, and more — plus it has its own installer.
For a complete guide detailing the syntax, arguments, and options for every command, please see the full COMMANDS.md file.
…To build MyCMD you need:
.exe wrapping) (Linux users can use jpackage instead of Launch4j/Inno Setup.)
Building MyCMD is simple and automated for both Windows and Linux platforms
scripts\build-windows.batThis script will automatically:
2.⚙️ Wrap it into an .exe using Launch4j
dist/
┣ bin/MyCMD.exe
┣ lib/dependencies.jar
┗ setup.exechmod +x scripts/build-linux.sh
./scripts/build-linux.shThis will build a .deb or .rpm package using jpackage.
After installation, run:
MyCMDYou can now use commands like:
> dir
> cd ..
> mkdir test
> echo Hello World!
> type file.txt
> del file.txt
> help
> exit[!NOTE] There are many commands left like
lsandPing Command
Contributions are what make the open-source community such an amazing place to learn, inspire, and create!
We welcome all kinds of improvements — from fixing bugs to adding new commands ⚙️.
git checkout -b feature/your-feature-name
## License
**Apache License 2.0**
This project is open-source and available for anyone to use, modify, and share under the terms of the Apache License.
> ✨ Attribution is appreciated but not required.
> For complete terms, check the [LICENSE](./LICENSE) file.暂无开放 Issues,或尚未同步最近议题。