New Technology | New Mobiles | Job Notifications | Admissions | Hall tickets | Results | Shopping Offers | Learning Computer Skills

Showing posts with label Dos. Show all posts
Showing posts with label Dos. Show all posts

Saturday, September 1, 2018

Command Prompt | MS DOS Lesson 6 | External Commands

Lesson 6 : EXTERNAL COMMANDS

11) XCOPY:

It is used to copy all selected files of one disk to another disk.
Syn: C:\> XCOPY  A:  B:

12) EDIT:

It is used to make changes to the text of files.
Syn: C:\>EDIT  file-name
13) MOVE:
It is used to move the files or directories from one drive to another drive.
Syn: C:\>MOVE  file-name  directory-name

14) DISK COMPARE:

It is used to compare two drives.
Syn: C:\>DISKCOMP   A:   B:

15) SORT:

It is used to sort the text of a file in order.
Syn: C:\>SORT  file-name

16) SORT/R:

It is used to sort the text of a file in reverse order.
Syn: C:\>SORT/R  file-name

17) MORE:

It is used to display the information in page screen wise.
Syn:C:\>Type  filename|more

18) DOSKEY:

It is used to store all recent used commands in the Buffer.
Syn:C:\>DOSKEY

To install the doskey

  • F7: T o dispaly all previous used commands.
DOSKEY F7 Command
DOSKEY F7 Command

  • F9: To give the line number of the commands.
DOSKEY F9 Command
DOSKEY F9 Command



Share:

Command Prompt | MS DOS Lesson 5 | External Commands

Lesson 5 : EXTERNAL COMMANDS

1) LABEL:

It is used to change the label of the Drive
Syn: C:\>Label

2) VOLUME:

It is used to displays the disk volume label and serial number, if they exist.
Syn:C:\>Vol
VOLUME Command
VOLUME Command

3) MEMORY:

It is used to display the information about the memory of the drive
Syn: C:\>Memory

4) TREE:

It is used to display sub-directories of main directory
Syn: C:\>Tree Directory-name


TREE Command
TREE Command


5) ATTRIB +H:

It is used to hide a file or directory.
Syn: C:\>Attrib +h  file-name

6) ATTRIB -H:

It is used to unide a file or directory.
Syn: C:\> Attrib -h  file-name

7) ATTRIB +R:

It is used to protect from delete and edit data of a file
Syn: C:\>Attrib +r  file-name

8) ATTRIB -R:

It is used to remove the protection of a file
Syn: C:\>Attrib -r  file-name

9) CHKDSK:

It is used to display the information of the Drive
Syn: C:\>CHKDSK
CHKDSK Command
CHKDSK Command

10) DELTREE:

It is used to remove a directory with its sub-directories at a time
Syn: C:\>Deltree file-name
Share:

Friday, August 31, 2018

Command Prompt | MS DOS Lesson 4 | Internal Commands

Lesson 4: INTERNAL COMMANDS

17) Prompt:

It is used to changes the MS DOS command prompt.
Syn: C:\>PROMPT  [TEXT]
TEXT     Specifies as new command prompt
Prompt Normal Form is C:\> that means Current Drive and path (C :) and Greater-than sign (>)
Prompt can be made up of normal characters and the following special codes:
  • $Q        = (Equal sign) 
  • $$         $ (Dollar sign)
  • $T         Current time
  • $D        Current date
  • $P         Current Drive and Path
  • $V         Ms Dos Version
  • $N         Current Drive
  • $G         > (Greater-than sign) 
  • $L         <  (Less-than sign)
Ex: C:\>PROMPT Ravi$G
       Ravi>PROMPT $P$G
       C:\>
PROMPT Command
PROMPT Command

18) Path:

It is used to displays or sets a search path for executable files.
Display Path:  Syn: PATH 
Clear Path:      Syn: PATH;
Set Path:         Syn: SET PATH="D:\"
 
PATH Command
PATH Command

19) Colon(:)

It is used to change the drive. Type the drive name and colon.
Syn: C:\>Drive-name:
Ex:   C:\>D:
         D:\>
Change Drive - Colon Command
Change Drive - Colon Command

 20) ^C (Control C):

It is used to terminate or stop the execution of the command.
Syn: C:\>dir/s      - (Disc information report for all system files) is  running execution command then Ctrl+C Press keys to terminate or stop.

Control C  Command
Control C  Command

21) DIR (Disc Information Report):

It is used to displays a list of files and sub-directories in a disc drive directory with parameters.
  • DIR/W: Display the files and directories in width wise.
  • DIR/P: Display the files and directories in Page Screen wise.
  • DIR/L: Display the files and directories in small letters (lowercase).
  • DIR/AA: Display all Achieve files and hidden files.
  • DIR/AD: Display all Achieve directories and hidden directories.
  • DIR/AH: Display all hidden files and directories
  • DIR/AR: Display all Read-only files and directories
  • DIR/O: Display the files and directories in order wise
    • N  - By Name wise
    • E  - By Extension
    • A  - By last Access date
    • - By Date and time wise
    • S   - By Size wise
    • -    - By prefix to reverse order wise
         Ex: 1)  DIR/ON      (NAME ORDER WISE)
                2) DIR/O-N     (NAME REVERSE ORDER WISE)
Share:

Command Prompt | MS DOS Lesson 3 | Internal Commands

Lesson 3 :INTERNAL COMMANDS

11) MD (Make a directory):

It is used to create a new directory (folder).
Syn: C:\>MD Directory-name
Ex:  C:\>MD  balu

12) CD (Change a directory):

It is used to enter into the Directory.
Syn: C:\>CD Directory-name
Ex:  C:\>CD  balu
        C:\balu>
MD & CD Commands
MD & CD Commands


13) CD.. (CD Double dot):

It is used to come out of Directory.
Syn: C:\>CD..
Ex:   C:\balu>CD..
         C:\>

14) CD\ (CD Backward slash):

It is used to come out of multiple directories at a time.
Syn: CD\
Ex:  C:\balu\sai\vani>CD\
        C:\>

15) RD (Remove Directory):

It is used to remove and Empty Directory
Syn: RD Directory-name
Ex: C:\> RD balu

16) Version:

It is used to display the Operating System version
Syn: C:\>VER
Version Command
Version Command

Share:

Command Prompt | MS DOS Lesson 2 | Internal Commands

Lesson 2: INTERNAL COMMANDS

1) Date:  

This Command is used to display the system date. and it is also used to edit the system date.  Press "ENTER"  key  to Keep the same date.
Syn: C:/>Date

Internal Command Date
Picture 1: Internal Command Date
Picture 2: Internal Command Date
Picture 2: Internal Command Date

2) Time:

It is used to display the system time and we can also edit the system time. Press "ENTER" key to keep the same time.
Syn: C:/>Time

3) Dir (Disc Information Report):

It is used to display the file and directories existing files and folders in the disc.
Syn: C:/>dir
When we execute this command the information will be displayed as follows as below:-
Dir Command
Dir Command

4) CLS (Clear Screen):

It is used to clear the screen
Syn: C:/>cls

5) Copy  Con:

It is used to create a file
Syn: C:/>copy  con  file-name

6) F6 or ^Z:

To save the file
Syn: F6 or ^Z

7) Type: 

It is used to display the text of a file
Syn: C:/>Type  file-name

8) Delete:

It is used to delete or remove a file
Syn: C:/>Del  file-name
or 
Syn: C:/>Erase  file-name

9) Copy:

It is used to copy the text of a file to another file.
Syn: C:/>Copy  Source-file-name   Destination-File-name

and Adding the text of two or more files (multiple files) using copy:

It is used to append files, specify a single file for destination, but multiple files for source using wildcards or  file1+file2 format.
Syn: C:/>Copy  file1+file2  Append-file

10) Rename: 

It is used to change the existing file name
Syn: C:/>Ren  Old-file-name  New-file-name

Read Also:
Share:

Command Prompt | MS DOS Lesson 1 | How to Open MS DOS

MS DOS LESSON 1

Command Prompt
Command Prompt

What is MS DOS?

MS DOS means Microsoft Disk Operation System. This operating  mode is command prompt for example DATE, TIME, Restart commands etc...

How to Open the Command Prompt?

1. Click on Start Menu ==>
Click on Start Menu
Click on Start Menu

2. Click on Search programs and files Bar ==>

Search programs and files Bar
Search programs and files Bar
3.Type "Command Prompt" and then Press the "Enter" Button key 
Command Prompt
Command Prompt
or
1.Window Key + R ( Run the New Task Dialog Box) ==> 
Run the New Task Dialog Box
Run the New Task Dialog Box
2.Type "cmd" or "command" and then  Click on "OK" Button

In MS DOS  there are two types of commands. They are

  1. Internal Commands
  2. External Commands
Read also: 
Share:
Powered by Blogger.

Search This Blog

Recent Posts

Unordered List

Pages

Theme Support