• 12,229
• +687
• 1,362

16 Steps Tutorial Basic Command Prompt

In this tips and trick, we will learn how easy the basic command prompt in 16 Steps Tutorial Basic Command Prompt.

Some people says "Oh no, command prompt is make me headache, because it's only black and white screen with text".

I dont think Command Prompt is horrible like that :p you can learn command prompt in an easy way. Learning from the very basic until the advanced section.

In this tutorial we will learn how to use Command Prompt that listed below :

cd(change directory); dir(view directory contents); type(view text file); write(Graphical User Interface text editor); edit(command prompt text editor – XP); cp(copy file); mv(move file); cls(Clear Screen);

16 Steps Tutorial Basic Command Prompt:

1. For this tutorial, I have a few files for you and need to download to make you more understanding this basic tutorial. (I guarantee that the file below is virus free)

2. Extract the files and copy the folder "cmdlearn" into drive C:\

3. Click Run(see shortcut here) and type "cmd" in the text box, click OK.

4. This is your Command Prompt console look like(I'm using Windows 7, so for Windows XP maybe it's a slightly different but dont worry about it::-) )

5. In your Command Prompt, type cd\, that means we will change into the drive C:\.

6. We're in drive C:\ now, we need to change directory into cmdlearn. Type "cd cmdlearn"

7. Okay that's easy isn't it? now is time to view our directory contents by using dir command.

If you need to clear the text, just type cls(Clear Screen).

8. We will start from "program folder". We need to change directory into there, type cd program.

9. Inside the program folder, there's a small application using BAT extension about asking your name. Simply type myapp.bat in your command prompt. This method also can be used to run an EXE or VBS, because Windows will automatically know how to run that extension.

You can use TAB for auto-complete command prompt

10. Now let's change into text directory. Type cd ..\text to go into text directory.

The double dotted means that we will go into the parent directory "cmdlearn".

11. To view the text contents in mytext.txt you can use "type mytext.txt". If you want to edit the text, You can use "write mytext.txt" to edit using Wordpad.

12. For editing the text in Windows XP, You can type "edit mytext.txt".

13. Now let's change directory to our last lesson "..\tocopy"

14. To copy the picture(mario.png) from tocopy folder into topaste folder simply type copy mario.png ..\topaste.

15. To Move the picture(superman.png) from tocopy folder into topaste folder, You can type move superman.png ..\topaste.

16. To Delete the picture(tux.png) you can type del tux.png.

Okay that's enough for your basic learning about Command Prompt :-).

Share this article if you found this post was useful:

Written by Vishnu Valentino.

Blogger at hacking-tutorial.com. Love PHP, offensive security and web. Contact him at me[-at-]vishnuvalentino.com

See all posts by || Visit Website : http://www.vishnuvalentino.com

• puppet

this is somewhat useful…
can i request basci cmd for networking…
like tracert,arp,netstat,ipconfig n so on…
thanks v4l!

• http://www.vishnuvalentino.com v4L

#puppet
Sure, thanks for your input…

• pheagle

Hi v4L nice tutorial for this basic cmd

• http://www.exposedhacks.com Hacking Tutorial

The file for download, what is it

• http://www.vishnuvalentino.com v4L

#Hacking tutorial

you need to subscribe to download the file.

• http://www.marksupport.com/hpprintersupport.html Mark support

buddy this command is good..

• raghu

commands like move,copy,del are not working.it is showing that “system could not find the path”.help me buddy…

• http://www.vishnuvalentino.com v4L

#raghu

make sure your current working directory was correct…and you can use the TAB key for command autocomplete

• naughtyboy

i can download it

• miyu

im subscribed but it wont let me download.

• Cheesus Crust

you have to wait 18 hours for their system to update

• AnonHacker

Good This helped me out alot even though i know a thew things about the cmd and stuff you might want to show how to add in the colors (color a,b,c,d) and show them the properties that would probebly make it more fun for em’

• user

well this sucks I have to wait for it to update servers

• http://www.hacking-tutorial.com/ v4L

Well, you can start make monthly donations to us for paying server + hosting to disable this
if you can’t, you can wait for us to update…

• user

yeah all I wanted to do was download a file…

• user

but yeah not complaining even if it sounds like it