Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

MyCMD

> 编程语言
Open source

A full custom CMD shell written in Java with its own installer.

194 stars0 likes2 views
WebsiteGitHub

About

A full custom CMD shell written in Java with its own installer.

MyCMD – A Custom Command Prompt in 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.

Meet our CMD-builders


Documentation & Command Reference

For a complete guide detailing the syntax, arguments, and options for every command, please see the full COMMANDS.md file.


…

Key Features ✨


Requirements

To build MyCMD you need:

  • Java JDK 17+
  • Apache Maven
  • Launch4j (for .exe wrapping)
  • Inno Setup (for Windows installer)

(Linux users can use jpackage instead of Launch4j/Inno Setup.)


️ Build Instructions

Building MyCMD is simple and automated for both Windows and Linux platforms

Windows

bash
scripts\build-windows.bat

This script will automatically:

  1. Build the JAR using Apache Maven

2.⚙️ Wrap it into an .exe using Launch4j

  1. Generate a setup.exe installer via Inno Setup

Final Output

dist/
 ┣ bin/MyCMD.exe
 ┣ lib/dependencies.jar
 ┗ setup.exe

Linux

chmod +x scripts/build-linux.sh
./scripts/build-linux.sh

This will build a .deb or .rpm package using jpackage.

️ Usage

After installation, run:

MyCMD

You can now use commands like:

> dir
> cd ..
> mkdir test
> echo Hello World!
> type file.txt
> del file.txt
> help
> exit

Extending MyCMD

[!NOTE] There are many commands left like ls and Ping Command

Contributing

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 ⚙️.

Steps to Contribute

  1. Fork the repository
  2. Create a new branch
bash
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· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaactivedrive-for-javahacktoberfesthacktoberfest-accepted

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言