Hey guys, what’s up? Today this blog will discuss the Commands of the Computer system. I hope you are alright everywhere. Welcome to my site Engineering Technology. Today in this article I will discuss the Most Important Top 20 Commands of the Computer System.
The command is an important part of a computer system. So this is an important article for you. Please visit from start to end. Then you can find out the exact important knowledge of the command of the computer system.
So friends what is the command needed for the computer system? Power is a usable and essential part of the computer system. In this article, you can get the Top 20 most essential Commands of Computer systems. What is today’s topic? Those are listed below:
20 Commands of the Computer
- Commands of the Computer system?
- Internal Commands of the Computer System?
- External Commands of the Computer System?
This is the main point that will be discussed in this article. And also pointed out different types of commands, Syntax, and Their Functions. Let’s begin 》》》》》
What is the command of the computer system?
A command is an order or instruction given to the computer to perform a specific task and get accurate output. The command is mainly of two types. Which are internal command and external command.
The internal and external commands are classified into different functions. So friends you should read clearly about the internal and external commands with different categories.
What is the internal command of the computer system?
First of all, I can explain of internal command of the computer system.
The commands which are recognized by the Command.com file of MS-DOS are called internal commands. When a computer is started, such types of commands are automatically loaded into the computer’s memory because they are the internal parts of the command.com file. Examples of internal commands are CLS, DIR, COPY, DEL, REN, MD, CD, DATE, TIME, PROMPT, etc.
Friends following are the most important command of the computer system. All the orders are included in the individual SYNTAX and their Function. Also, examples are included.
Clearing the screen
Command: CLS
Syntax: CLS
Function: clear the screen and move the cursor to the top left corner of the screen.
Examples
C:> CLS
Clear the screen
Viewing and changing the system date
Command: DATE
Syntax: DATE mm-dd-yy
Function: Display the system date and allow to change of a new date if it is necessary.
Examples
C:>DATE
Display the system date
Changing System Time
Command: TIME
Syntax: TIME
Function: To display the current system time of a computer and to change it if necessary.
Examples
C:> TIME
It shows the current system time of a computer and the user can change a new time
C:>TIME 2:30a
Change the system time to 2:30 a.m.
Display Files and Directories
Command: DIR
Syntax: DIR [Drive] [path] [/P] [/W] [/S] [O: Sort Order] [/AD]
Function: Display files, directories, and subdirectories of the disk.
Where,
/P: Pause after each screenful of information
/W: Wide format
/S: Display from subdirectories
/ON: Display files in ascending order of the filename.
/O-N: Display files in descending order of the filename.
/AD: It Displays only subdirectories
Examples
C:>DIR
Display files/directories of the root directory of the disk on C: drive.
C:>DIR B:
Display all files and subdirectories of the disk on B: drive.
C:>DIR B:*.BAS/S
Display all files with extension “.BAS” of the root directory of the disk on A: drive and its subdirectories.
C:>DIR/AD
Display only subdirectories of the disk on C: drive.
Copying Flies
Command: Copy
Syntax: Copy [Source drive] [Source path] [Target drive:] [Target path]
Function: To copy a file or files from one drive to another or in different directories in the same drive. It is also used to type text on the monitor and copy it under the specified filename. It also allows combining the contents of two or more files.
Examples
C:>Copy C: Market ABC.TXT A:
Copies ABC.TXT files of directory market of C: drive to A drive.
C:>Copy*.BAS A: Program
Copies all the files with.BAS extension of the root directory of C: drive to the program directory of A: drive.
C:>Copy CON TEST.TXT
I am enjoying the DOS command. (Type this test in the command bar)
Press the F6 or CTRL+Z key. This command copies the contents “I am enjoying DOS commands ” to the file TEST.TXT.
Displaying the content of a File
Command: TYPE
Syntax: TYPE [drive:] [path]
Function: To display the content of a file.
Examples
C:>TYPE SIS.LTD
Display the contents of the SIS.LTR of C: drive.
C:>TYPE B:MOMMOM.TXT
Display the contents of file “MOM.TXT” of subdirectory “MOM” of B: drive.
Making Directory
Command: MD
Syntax: MD [drive] [path]
Function: To make a new directory in the disk.
Examples
C:>MD DAD
Create a subdirectory “DAD” under C: drive.
C:>MD B: DADBRO
Creates subdirectory “BRO” under “DAD” subdirectory of B: drive.
Changing Directory
Command: CD
Syntax: CD [drive] [path]
Function: To change a directory.
Examples
C:>CD DAD
Changes into the subdirectory “DAD” as given: C: DAD>
C: House Kitchen >CD…
Switches to the subdirectory “HOUSE” of C: drive.
Removing Directory
Command: RD
Syntax: RD [drive name] [path name]
Function: To remove an empty directory from the disk.
Examples
C:>RD DAD
Removes subdirectory “DAD” from the root directory of C: drive.
C:>RDHOUSE KITCHEN
Removes the subdirectory “KITCHEN” of the HOUSE subdirectory of C: drive.
Renaming a file
Command: REN
Syntax : REN[drive] [path]
Function: To change the old file name to a new name.
Examples
C:>REN C: SCHOOL MOM.LTR DAD.LTD
Changes filename “MOM.LTR” by “DAD.LTR” of subdirectory SCHOOL of C: drive.
C:>REN *.BAS *.LTD
Rename all extensions “BAS” with the extension “LTR”.
Deleting Files
Command: DEL or ERASE
Syntax: DEL [drive] [path]
Function: To delete a file or group of files from the disk.
Examples
C:>DEL CAR.DOC
Delete File CAR.DOC of C: drive.
C:|>DEL C:CAR*.TXT
Delete all files having extension “.TXT” of subdirectory CAR of C: drive.
C:>DEL C: COMPUTER A??.TXT
Erase all files starting with the file name “A” followed by any two characters with the extension “.TXT” from the subdirectory COMPUTER of C: drive.
Displaying Volume Label
Command: VOL
Syntax: VOl [drive name]
Function: To display the Volume label and the serial number of the disk.
Examples
C:>VOL
Display the volume level and serial number of C: drive.
C:>VOL A:
Display the volume label of A: drive
C:>VOL B:
Display the volume label of the disk on B: drive.
Changing System Prompt
Command: PROMPT
Syntax: Prompt or
Function: To change the MS-DOS command prompt to a different appearance.
Examples
C:>PROMPT COMPUTER
Change MS-DOS Prompt to “COMPUTER”
C:>PROMPT $P$T$G
Change the MS-DOS Prompt to “C:12:30:50.6>”
C:>PROMPT Nepal$G
Change the MS-DOS Prompt to “Nepal”
Displaying Version
Command: VER
Syntax: VER
Function: To display the version of the current MS-DOS operating system used by the computer
Examples
C:>VER
Display the current MS-DOS version of the computer. The next is the external command of the computer. So friends now we will discuss the external command used in computers.
What are the external commands of the computer?
This is the type of command which are stored in the MS-DOS system disk under individual program files called external commands. They have their program file names having an extension such as COM, BAT, EXE, etc. Examples of external commands are CHKDSK, DISKCOPY, TREE, FORMAT, etc.
Now I will explain of different types of external commands used in computers.
Display Disk Status
Command: CHKDSK
Syntax: CHKDSK [drive] [/F]
Function: To check the disk and display the status report of the disk.
Examples
C:>CHKDSK
Check the disk on drive C: and display the status report.
C:>CHKDSK/F
Check the status reports of the disk on the c drive and fix the error
Duplicate Copy of a Disk
Command: DISKCOPY
Syntax: DISKCOPY [drive 1 ] [drive 2 ] [/1] [/2]
Function: To make a duplicate copy of a disk.
Examples
C:>DISKCOPY A:B:
Makes a duplicate disk of drive A to the disk on drive B:
C:>DISKCOPY A:A:
Makes a duplicate disk of the same drive.
Labeling a Disk
Command: LABEL
Syntax: LABEL [drive :] [label]
Examples
C:>LABEL
It displays the volume label of C: drive and allows you to change a new one.
C:>LABEL A: FLOPPY
Changes the volume label of the disk on A: drive-by “FLOPPY”.
Display Tree Structure
Command: TREE
Syntax : TREE [drive :] [ path] [/F]
Function: To display the tree structure of disk content.
Examples
C:>TREE
Display the subdirectories in the tree structure of the disk on C: drive.
C:>TREE/F
Display subdirectories as well as files in the tree structure of the disk on C: drive.
Editing Text File
Command: EDIT
Syntax: EDIT [drive]
Function: To edit the existing file or create a new file in the edit mode.
Examples
C:>EDIT MOM.LTD
Allows opening a MOM.LTR file in the edit mode.
C:>EDIT A: DAD.LTD
Open a file, DAD.LTR of the disk on A: drive
Setting and Clearing File Attributes
Command: ATTRIB
Syntax : ATTRIB [+R] [-R] [+H] [-H] [+A] [-A] [+S] [-S] [Drive :] [path]
Function: To set clear different types of file attributes.
Examples
C:>ATTRIB +R MOM.LTD
Sets read-only Attributes for MOM.LTR file of the disk on C: drive.
C:>ATTRIB+H A: DAD.LTR
Sets hidden file attributes for DAD.LTR file of the disk on A: drive.
C:>ATTRIB-R MOM.LTD
Clear the read-only attribute of MOM.LTR file of C: drive.
Formatting Disk
Command: FORMAT
Syntax : FORMAT [Drive] [/V:label] [/Q] [/S]
Function: To format a disk and prepare a disk for use.
Examples
C:>FORMAT A:
Format a disk on A: drive.
C:>FORMAT A:/V: MY DISK
Format a disk on A: drive and assign the volume label as ‘MY DISK’
C:>FORMAT A:/S
Format disk on A: drive and copy the system files.
So friends this is the most important Commands of Computer systems. These are not understood without practical in the computer. So To practice on the computer all of the above commands of the computer and show the results.
For the practice of commands of the computer. Open the Command Prompt [By pressing CMD] in the search box on the computer. Then you can easily apply all the above commands in the CMD panel.
Conclusion
The most important top 20 Commands of the Computer are for that person who can easily use CMD on the computer. Who should be charging, viewing, and setting indirectly? All the operating system is controlled by this above command. Making easily directory files on the computer settings on the computer than using this command.
So friends how was this article? I hope this article is helpful for you. You have all of the knowledge about the command. Thanks, friends for visiting my site. Keep supporting and joining us on Instagram. Thank you.
on Instagram. Thank you.
nice