121 Responses to “CMD: 11 basic commands you should know (cd, dir, mkdir, etc.)”

  • Wilson Stevens says:

    I started using computers in 1973 and purchased the first IBM 8088 computer for home using MS-DOS 2.0. I have always loved that computer, and the ability to manipulate files and directories from what is now the command line. I like the fact that most of the early MS-DOS system commands are still available in the modern operating system from the command prompt.

  • aliCe says:

    Greate tutorial,
    Thanks for these tutorials.
    I learned many things from it.

  • Mathew Rosauer says:

    If you push the right arrow key the last keyboard entry is displayed one letter at a time. Push and hold the arrow key to re-enter the last line typed.

  • Frank Bensch says:

    Thanks for posting this little manual on Line Commands. They are very useful especially when following a path in a directory tree.I “grew” up with MS-DOS but had forgotten some details of its syntax – so your article was like bringing me back to my youth.

    Kind regards
    Frank

  • Yani2021 says:

    Very informative and useful, than you very much!

  • Alberto says:

    Very useful. Thanks for sharing! 🙂

  • nitin says:

    to go directly from one disk space to another disk space is not working

  • KHIN says:

    Useful.

  • bimlesh kumar says:

    it is very useful for the beginner.

  • Marin Grgatović says:

    In number 2. we said that writing something like this /d terminates D drive and we write it when going to c, but in 3. we use d/ when going to D

  • MED ADAR KASIRĞA says:

    helpful. thanks.

  • KF says:

    Very helpful, thank you!

  • Ahmed Nasser says:

    How to move files and folders using CMD

  • Tanya says:

    Thanks, very clear!

  • Alex says:

    very useful, thanks

  • jenn says:

    I suspect one or more of my neighbors are latching on to my Wifi for their smart phones or Ipads and I would like them to stop. My service provider advises they are unable to see other users if they look at the IP address at their side. I’m sure the Command Prompt will be of good service to me. Thanks.

  • Josue Pareja says:

    I dont know why a symple question like this in developers community becames so complex and even you got ridiculed for asking, thank you very much !!!

  • Binh Nguyen says:

    Excellent tutorial article. I have not used any DOS command for a long time. This tutorial is a great help for me to copy and rename files after downloading my videos/photos files from iCloud.

  • Tee Yi Heng says:

    Learn a lot of thing ,thannk you.

  • CHIMEZIE says:

    This is great

  • hitchhiker says:

    thank you so much

  • Aldo says:

    Great tutorial, thnx 🙂

  • Linda Sue says:

    Here it is, February of 2020 and this article helped me add missing details to a set of instructions for how to use the command prompt in administrator mode in order to list and restore items quarantined by Windows Defender. I had to try many times to get the commands right but was finally successful. Your help was worth rubies. I should write an article on how to do it! Or, perhaps you should! Thank you!

  • lemon says:

    learned a lot, thanks!

  • Reza Fahlevi says:

    Nice wallpaper, can I have the source of your wallpaper, please? thank you

  • Zinah says:

    Thanks , specially for the simplicity

  • Nadim23 says:

    Bravo for this detailed/Clear/Well explained article….
    It helps a lot in many situations to use CMD (for exp. when we need to mass rename some files)

  • mahdi says:

    Thank you

  • SV says:

    “PowerShell 1.0 was released in November 2006” – even before this article was originally written 10 years ago, PowerShell was already available. Can’t think of a software professional who still uses Command Prompt in Windows these days, really.

  • GDB says:

    Thank you. It’s been so long that I’ve forgotten the basics.

  • Yog kumar says:

    How to do internet surfing using command prompt?

  • Usman says:

    Thanks!

  • Frank says:

    Excellent tutorial! Can I save it as PDF files and let my students following your tutorial?

    • Anonymous says:

      We would prefer to share with them the link to this article. Give them some of its content and then recommend that they visit the article and read more.

  • hp says:

    best command

  • Theodor says:

    This really helped me as I could not for the life of me get to my K: drive from my C: drive, so thank you!

  • Charminda Wadusinghearachchi says:

    It’s a really helpful article. Thanks

  • T**** G**** says:

    Thank You So Much! I fixed my problem!! 🙂

  • BB103 says:

    When searching on the web I saw this link. The explanations with all details are very “formidable” . They are very understanding with all details. I cannot believe it ! How it is possible. It is the best explanations I could find. Thanks to these I could take part to some studies and following lessons. THANKS A LOT.

  • Phil says:

    Thank you for creating this helpful guide to the basics – it’s proven very useful for me. I’ve tinkered with computers for about 20yrs….but in the days of GUI, the basics of DOS aren’t required for Joe Average any longer…until you occasionally DO have to use it…unstuck time!! Cheers

  • Bilal says:

    Can you please make another article for all dos commands, because you explain in simple and easy way. Thanks and I appreciate your efforts

  • S.N Vishwakarma says:

    Hi,
    Yes,article is so intresting with detailed information. Helpful during working on Windows 7 command prompt.
    I hope,you share more information about programming on Windows 7.
    Tech Cluz

    • Anonymous says:

      We have other tutorials too about the Command Prompt. Just search for this term on our website.

  • tharindu says:

    useful article and also very clear explanation

  • anjana says:

    thank you

  • Prasanth Kumar says:

    Very nicely explained

  • Soumya says:

    Very nice article for a beginner to start..It was really helpful for me..

    • Anonymous says:

      Thanks for appreciating our work. Do not hesitate to subscribe to our newsletter, so that you receive more awesome content.

  • Nyssa says:

    Fantastic, straightforward tutorial. Thanks a lot! Exactly what I was looking for.

  • Ayush Samarwal says:

    these triks are easy and early to use

  • CD was not given under CMD in keyboard shortcuts. I knew it from decades ago but needed to be reminded after all the insane W10 changes

  • hariom verma says:

    helpful

  • Aurangazeeb A K says:

    Really a wonderful and easy to read article. Thank you so much !!

  • abhishek says:

    When you need to go to one folder up, use the “cd..” command. Let’s assume that you want to go back to the Windows folder. Type “cd..” and press Enter on your keyboard. You will notice that your current directory has changed to ”C:Windows”.

    but whenver i use cd..
    it says ‘cd..’ is not recognized as an internal or external command,
    operable program or batch file.

  • mraa says:

    thank you
    so helpful

  • Telorast says:

    Without going into the ugly details, I’ll just say that you have saved me from a lot of grief!

  • shashank prashar says:

    thank you very much, your article helped a lot. I enjoyed learning.

  • Rob C. says:

    This is possibly the best introduction I’ve seen to folks who’d like to learn more about the “intimidating” command prompt. Thank you for this valuable article!

  • misterAMM says:

    Good article for head start.

  • Aaron says:

    Ren and rename command is not functioning in my command prompt.

    Is there another command to rename a file?

  • Omar A. Alia says:

    Clear explanation and useful Information. Thanks for sharing.

  • Raiz says:

    Thanks, this helped a lot

    • Ciprian Adrian Rusen says:

      You are welcome. Do not hesitate to subscribe to our newsletter, for more useful tutorials.

  • Caleb Hawn says:

    This is helpful! I’ve been wondering how to change the directory to another drive, such as an external USB drive. Thanks!

  • Sanjeev Choudhary says:

    How to reboot by command promt

  • Joe says:

    Thanx guys

  • Jillian M. says:

    Thank you for this clear and concise article. I bookmarked it because I’m trying to become a developer and need helpful texts like this.

  • haribabu says:

    Useful for freshers for quick learn.

    Well job, great appreciate

  • bonobonovic says:

    thanks

  • Sharmathi Rajasekaran says:

    For freshers who doesn’t know how to work in command prompt this tutorial will help a lot

  • Rajesh says:

    Good for learning.

  • Zaid Rizwan says:

    A handsome tutorial.i learn this in school but never grip on it because of GUI but now I am bit confident about CMD.

  • NemanjaN says:

    Well, this brings some great memories. I am old enough to remember good old MS DOS.

  • unrmaestro says:

    i appreciated it helped e a lot thanks

  • Sahan anjana says:

    That was exelent and perfecr description for a new one like me…thank you…

  • Diwakar says:

    I need to know how to recover memory card which is a raw type drive.please do the needful.

  • Tim Kay says:

    Good intro. However, it would be less confusing if you added a space after your cd command. Instead of “cd..”, it should be “cd ..”. It’s a command and an argument. The fact that Windows handles it even without space is just weird.

  • Anonymous says:

    A very interesting piece of writing, i learnt a lot by reading this. My gcsi i.t exam is in a cupple of weeks and this page has helped me learn alot on my skills with command prompt. I would like to thank the writer for a very descripted and intresting way to see and understand command prompt which prooves he is a very bright and and patient person.

  • Kavitha says:

    Very useful and clear article. Really nice.

  • ginger says:

    xcopy doesn’t work on my windows 10…………
    i got a error message such that not internal or external command provided……

  • Imluz says:

    Thank you for the guidance. It helps a lot 🙂

  • Peter says:

    Immensely useful. Thanks

  • Michael Tekeste says:

    i love your everything … in xcopy command “/i” doesn’t work for me. i thought it will create the same directory at the destination if doesn’t exist, unfortunately not. could you help me please !

  • Anonymous says:

    Helpful and right to the point. Thanks man!

  • yoge says:

    okk i got it

  • yoge says:

    how to change the drive i.e. from a c: drive to d: or e: drive??

  • rory says:

    thank you very much for the great tutorial, it was extremely informative and easy to follow, ive been looking for a tute on the command prompt that was directed at a lower level of understanding for ages. looking forward to reading the rest of the tutorials. keep up the good work.

  • Nouman Ahmad says:

    yes! This is so intersting thing at all but here we have a problem i am not understanding the file copy system. plz help to more understandig……………

  • rochak says:

    best tutorial so far…kudos!

  • alan says:

    Thank you so much.This post is very helpfull with me.

  • Rahul Das says:

    Thanks, very descriptive tutorial.
    My question is how do i switch to desktop from C drive ?

  • Zin Wai Yan Pyone says:

    Most interesting tutorial. I want to know about cmd. Now, this helped me very much. Thanks!

  • jay says:

    Thank you very much, this article was very clear and easy to understand unlike many others ive tried and the pictures make it easier to understand incase we feel like we didn’t do something right.

  • Muhammad Zeshan says:

    Thanks For the comprehensive tutorial about CMD

  • john says:

    like to see command repair tools like regfix and sfc /scannow alternates for system repairs!

  • Ria says:

    Thanks! I needed help in changing directory and your article helped a lot. Thumbs up 🙂

  • Tien says:

    thank you!

  • Milind Thosar says:

    Very good explanation. But need more commands of system32

  • CrazyM says:

    Nice…………..

  • shivani says:

    where to put the parameter /h in case for deleting the hidden files?? :/
    what about the directories containing space within their name? :/

  • shravan says:

    Excellent easy to understand even for a beginer.

  • Avi Kaushik says:

    hi! i’m new to this site and i scaned all its contents.I found everything very clear to me.Every command is discused in detail and it clarified all my doubts regarding commands i read.This info. is very helpful.
    I’m looking forward to the next article.

  • Nishantha Amuwatte says:

    Excellent tutorial,simple and amazing

  • om says:

    incredible!!!!……..

  • Muskan RAI says:

    Isn’t there any online guid teacher for this?

  • Muhammed says:

    How can I get full information of command prompt by using windows 7, Example How to shutdown computer, secure data; locking PC, encrypt and decryption data etc by using command prompt.
    Thank You for Help!

  • Zee says:

    Can one use the command prompt for hacking purpose also. If yes, then how? what are the commands?

  • Sprinkle says:

    The information was very good i was impressed. However, if you were looking at this and had no prior knowledge of command prompt, the whole idea of paths and drives would confuse you. A better explanation of terms would have made this even better than it already is.

  • Durgesh says:

    Hi
    this is a very helpful information

  • ppawre says:

    Hi,
    Yes,article is so intresting with detailed information. Helpful during working on Windows 7 command prompt.
    I hope,you share more information about programming on Windows 7.

  • Brian says:

    Maximilian,

    As usual, an excellent article: very clear and exteremely detailed so one can easily follow along.

    I sure hope you continue the series about the Command Prompt and then do a series on the command shell.

    I am looking forward to the next article.

    Thanks,

    BRIAN

Leave a Reply