Skip to main content

Some DOS Commands to make You CMD Guru!


Start by opening command Prompt
Go to start> run> cmd
1. To create a new directory.
Command: 
C:\>mkdir hack
Or
C:\>md hack
[hack is your directory name, you can use any name]
2. To remove a directory.
Command: 
C:\>rmdir hack or the name of the created directory
Or
C:\>rd hack
[hack is your directory name].
3. To clear the screen.
Command: 
C:\>cls
4. To see the contents or subdirectory of directory.
Command: 
C:\>dir
Or
C:\>dir /p
[“dir /p” to see page by page].
Or
C:\>dir /a
[“dir /a” to see all directories+hidden directories].
Or
C:\>dir /ah
[“dir /ah” to see only hidden directories].
5. To change the directory.
Command: 
C:\>cd hack
[hack is your directory name].
C:\>cd..
[cd followed by 2 periods takes you one level up i.e to the parent directory]
C:\>cd\
[cd followed by backslash periods takes you to the top directory i.e directly under the drive]
6. To rename a directory or file.
Command: 
C:\>ren hack hacknew
[By this command the folder hack is rename to hacknew].
7. To move a file from one destination to another.
C:\>move sourcepath destinationpath
Command:
C:\>move C:\hack.txt D:\
[hack.txt is your directory name].
8. To create a new file.
Command: 
C:\>copy con hack.txt
[Once you create the file press enter and type the information inside the file. 
To save the file hold CTRL and press Z . This will return ^Z. Once this has been entered press enter to save and exit the file.].
[hack.txt is your file name].
9. To see the content of a text file.
Command: 
C:\>type hack.txt
[hack.txt is your file name].
10. To delete a file.
Command: 
C:\>del hack.txt
[hack.txt is your file name].
11. To edit a file.
Command: 
C:\>edit hack.txt
[hack.txt is your file name].
12. To copy a file from one destination to another.
C:\>copy sourcepath destinationpath
Command:
C:\>copy C:\hack.txt D:\
[hack.txt is your file name].
13. To copy a directory from one destination to another.
C:\>xcopy sourcepath destinationpath /s
Command:
C:\>xcopy C:\hack D:\ /s
[hack is your directory name]
14. Exit from command prompt.
Command:
C:\>exit

Comments

Popular posts from this blog

Microsoft Office for Tablet now on Google Play store

Back in November, Microsoft opened up early previews builds for its new mobile Office applications for Android tablets to those willing to sign up and wait for an invitation. After taking on feedback over the past couple of months, Microsoft has announced that it is expanding its preview scheme by releasing its Office applications to everyone directly through the Google Play Store. The new Office software for mobile unifies Android, IOS, and Windows platforms. Previously each platform had to make do with its own apps, meaning that feature sets differed depending on your operating system and updates were often slow and intermittent. By unifying the Office platform, Microsoft hopes to bring updates and new features to users in a timelier manner. There are still a couple of conditions attached to the preview builds though. Firstly, Office is still limited to ARM-based Android tablets with a screen size between 7 and 10.1 inches. Your tablet will also need to be running Ki...

Tips for strong password

As we have already discussed that passwords are strong and at the same time weak! If user create password from his name, date of birth or any other combination that is related to him, cracking down his account doesn't need much technical know how. Meaning attacker who know you, can be lucky enough to access your sensitive information by only entering certain key combinations. Creating strong and almost non hackable wait!!! is there any non hackable password! I was once told that any system can be hacked! It only took time, skills and resources! You are absolutely right! But at-least one has to really suffer before getting your data! Arm robbers do rob banks! Do you think a local or common thief can rob bank? The ans is absolute NO! Strong passwords doesn't happen by chance! Below are the steps to create a very strong passwords! Passwords should be at-least 8 characters Its already becoming standard on the internet. Many websites doesn't allow less than 6 charact...

Ethical hacking simplified. cryptographic hashing.

Cryptoghraphy Hashing Hashing is the process of converting plaintext into chipertext. One of the advantage of  hashing is, its  almost impossible to alter. Even if the intruder succeeded in altering the data the receiver will definitely know on receiving the message. Hashing can be seen as a one way encryption process. Its main aim is to confirm the authenticity of data. Hashing output is known as hash, hash value or message digest. How it work When you are sending the message, you will create an encryption with your private key using a particular type of hashing which we will talk about shortly. It will then create gabbled messages which is fixed length and exactly the length of the message. Bundles the chipertext with the plaintext together which are both encrypted. Upon arriving the destination, the receiver will get the public key of the sender and decrypt the message. Mind you hashing is here to confirm the authenticity of the message. After confirming the sender...