Disk Operating System (DOS), is an acronym for several computer Operating Systems that were operated by using the command line. So HACKAGON collaborated A LIST OF DOS COMMANDS which will make you a better programmer.

List Of DOS Commands Hackagon

MS-DOS dominated the IBM PC compatible market between 1981 and 1995, or until about 2000 including the partially MS-DOS-based Microsoft Windows (95, 98, and Millennium Edition). “DOS” is used to describe the family of several very similar command-line systems, including MS-DOS, PC-DOS, DR-DOS, FreeDOS, ROM-DOS, OSx16, “Horizon OS” and PTS-DOS.

In spite of the common usage, none of these systems were simply named “DOS” (a name given only to an unrelated IBM mainframe operating system in the 1960s). A number of unrelated, non-x86 microcomputer disk operating systems had “DOS” in their names, and are often referred to simply as “DOS” when discussing machines that use them (e.g. AmigaDOS, AMSDOS, ANDOS, Apple DOS, Atari DOS, Commodore DOS, CSI-DOS, ProDOS, and TRSDOS). While providing many of the same operating system functions for their respective computer systems, programs running under any one of these operating systems would not run under others.

LIST OF DOS COMMANDS

First of all open command Prompt
Go to Start >> Run >> CMD

1. To create a new directory.
Command: C:\>mkdir hackagon Or C:\>md hackagon
[hackagon is your directory name]

2. To remove a directory.
Command: C:\>rmdir hackagon Or C:\>rd hackagon
[hackagon is your directory name].

3. To clear the screen.
Command: C:\>cls

4. To see the contents or subdirectory of a directory.
Command: C:\>dir Or C:\>dir /p
[“dir /p” to see the directory 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 hackagon
[hackagon 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 hackagon newhackagon
[By this command the folder hackagon will be renamed to newhackagon].

7. To move a file from one destination to another.
C:\>move <sourcepath> <destinationpath>
Command: C:\>move C:\hackagon.txt D:\
[hackagon.txt is your directory name].

8. To create a new file.
Command: C:\>copy con hackagon.txt
[Once you created the file press Enter and type the information inside the file and to save the file hold Ctrl+Z. This will return ^Z. Once this has been entered press Enter to save and exit the file.].
[hackagon.txt is your file name].

9. To see the content of a text file.
Command: C:\>type hackagon.txt
[hackagon.txt is your file name].

10. To delete a file.
Command: C:\>del hackagon.txt
[hackagon.txt is your file name].

11. To edit a file.
Command: C:\>edit hackagon.txt
[hackagon.txt is your file name].

12. To copy a file from one destination to another.
C:\>copy <sourcepath> <destinationpath>
Command: C:\>copy C:\hackagon.txt D:\
[hackagon.txt is your file name].

13. To copy a directory from one destination to another.
C:\>xcopy <sourcepath> <destinationpath> /s
Command: C:\>xcopy C:\hackagon D:\ /s
[hackagon is your directory name]

14. Exit from the command prompt.
Command: C:\>exit

Enjoy the knowledge and manipulate your computer with your own. Hope you like this article. So, don’t forget to share it with your friends and also feel free to drop a comment below if you still face any kind of problem.