ADDS
Wednesday, February 12, 2014
basics of hacking-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 Interfacetext 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)
Download
2. Extract the files and copy the folder "cmdlearn" into drive C:\
3. ClickRun(see shortcut here) and type "cmd" in the text box, clickOK.
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, typecd\, 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 usingdircommand.
If you need to clear the text, just typecls(Clear Screen).
8. We will start from "program folder". We need to change directory into there, typecd program.
9. Inside the program folder, there's a small application using BAT extension about asking your name. Simply typemyapp.batin 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 useTABfor auto-complete command prompt
10. Now let's change into text directory. Typecd ..\textto 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) fromtocopyfolder intotopastefolder simply typecopy mario.png ..\topaste.
15. To Move the picture(superman.png) fromtocopyfolder intotopastefolder, You can typemove superman.png ..\topaste.
16. To Delete the picture(tux.png) you can typedel tux.png.
Okay that's enough for your basic learning about Command Prompt :-).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment