How to Use Command Prompt for Beginners
发布时间:2026-08-18 | 浏览:1
PRO Courses Hot Guides Tech Help Pro Expert Videos About wikiHow Pro Upgrade
QUIZZES All Quizzes Hot Love Quizzes Personality Quizzes Trivia Quizzes Taylor Swift Quizzes
EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard Trending Forums Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Quizzes Love Quizzes Personality Quizzes Fun Games Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
LOG IN Log in Social login does not work in incognito and private browsers. Please log in with your username or email to continue. Facebook Google wikiHow Account No account yet? Create an account
Browse Articles
Quizzes & Games
All Quizzes Hot
Personality Quizzes
Dating Simulator
Learn Something New
Support wikiHow
Log in / Sign up
Computers and Electronics
Operating Systems
Last Updated: June 9, 2025
Using Basic Commands
This article was co-authored by Luigi Oppido . Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over 7 years. This article has been viewed 115,280 times.
The command prompt (or, CMD) is a great way to open new applications in seconds, work more efficiently, and impress your friends with your tech savviness! Plus, learning the ropes is actually way easier than you'd think. We'll walk you through all the basics, and afterward, we'll even show you some advanced, hacking tricks, too. Ready to look like a computer whiz? Read through our guide below.
Opening & Using CMD
Open the Start menu and search "cmd," then press "Enter."
Type "cls" and hit "Enter" to simplify the interface.
Type "help" and hit "Enter" to recieve a list of basic prompts.
1 Open Command Prompt . Head over to the Start menu. Search "cmd" there. You can also hit Run, then search for it. If both of those don't work, you will need a slightly more complex method. Open Notepad. On the top line write "Command.com" (without the quotation marks.) Save it as CMD.bat. The .bat part is VERY important. And that's it. Open it using whichever method you chose.
You can also hit Run, then search for it.
If both of those don't work, you will need a slightly more complex method. Open Notepad. On the top line write "Command.com" (without the quotation marks.) Save it as CMD.bat. The .bat part is VERY important. And that's it. Open it using whichever method you chose.
Using Basic Commands
1 Change color. The first command, and one of the simplest, is "color". You can change the color of the text and the background. You start off with a gray-ish text and a black background. Type in "color help" for a full list of all the combinations you can make. A fun combo is "color FC" which provides with red text on a white background. "Color 0a" uses bright green on black, which may seem drab, but is actually a cool hacker look. Experiment!
A fun combo is "color FC" which provides with red text on a white background.
"Color 0a" uses bright green on black, which may seem drab, but is actually a cool hacker look. Experiment!
2 Try "cls". Another command, which is vital, is "cls". It's very simple. Basically, if you have a lot of mumbo-jumbo on the screen, "cls" will clear it to just showing the prompt. If you don't know what the prompt is, use "cls" and find out, though it's not important.
3 Adjust the title, if desired. If you were to look at the top of the CMD window, you would notice it would say: C:\Windows\system32\cmd.exe. A bit boring, isn't it? Type "title" followed by whichever text you wish to be there instead. For example, "title This Tutorial Rocks!" And... BOOM! It's there!
4 Use "tree." None of these will really blow the socks off your friends. If you really want to impress them try "tree" and wait for results. "Color 0a" is good for this. What "tree" does is it makes a graphical directory. For those who don't know what that means don't worry. It is very cool. However, if you are using a school computer, or anything like it, the tree will probably be small and stupid. It won't be cool.
5 Experiment with "help." And finally, the last basic command for a beginner - "help". It looks cool opening, and is very useful. It will provide a lot of room for experimentation. This last step in basic commands isn't actually a real command: "/?" Adding that to the end of a command will give a help menu to that specific command.
This last step in basic commands isn't actually a real command: "/?" Adding that to the end of a command will give a help menu to that specific command.
1 Be warned - hacking is illegal! Use this information at your own risk.
2 Change a password. Unfortunately, you need to have administrator privileges. Type "net user USERNAME * " (remember the SHIFT-8 for asterisk.) And that is that.
3 DDoS a site. Type ping url of the site in CMD and press enter you will see the ip address of the site. Then type ping ip address of site -t -l 6650 and look at your target site after 1-2 hours it will fail. But now many sites have DDoS protection.
Want to save this article? Download it as a PDF.
How to Use CMD Command Lines as a Beginner
Get the full formatted PDF you can save, print, or read offline. Anytime, anywhere.
One-time purchase
Question Is learning CMD useful? Luigi Oppido Computer & Tech Specialist Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over 7 years. Luigi Oppido Computer & Tech Specialist Expert Answer Yes, but only if you have a higher level understanding of the machine. If not, if you've just gone to the command prompt because someone told you to do that, sometimes the command prompt will supersede other issues. If you're in the Command Prompt, you have to type exactly what you want, or it's not going to work. Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 2 Helpful 9
Question How can I start a new prompt? Community Answer In order to clear the screen on the command prompt, just type in 'cls' and hit enter or type 'start' to open a new window. Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 6 Helpful 20
Question How can I modify a game? Community Answer If you want to mod a game, then CMD may not work. Some games support modification using 3rd party programs (Minecraft supports Forge for modding). Search the internet for instructions on how to mod the game you want. Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 5 Helpful 15
Don't use quotations! Thanks Helpful 0 Not Helpful 0
You Might Also Like
About This Article
Send fan mail to authors
Reader Success Stories
Kostas Kamaris Nov 20, 2016 "I am new to Command Prompt, and this helped me a lot! What a great website."
Is this article up to date?
Quizzes & Games
You Might Also Like
Trending Articles
Trending Articles
Take the Quiz. Face the Truth. 🔥
Are You More... 🤔
Featured Videos
Hot Takes Only 🔥
Your Daily Dose of Fun 🎉
Computers and Electronics
Operating Systems
Do Not Sell or Share My Info
Not Selling Info
wikiHow Tech Help Pro:
Level up your tech skills and stay ahead of the curve