MS-DOS commands with easy example-part3

MS-DOS commands with easy example-part3

ms dos commands with easy example एक ऐसी पोस्ट है जिसमे COLOR,TITLE,MOVE,HELP,TREE,CHKDSK,LABEL etc commands को easy language hindi में समझाया गया है :-

ms dos commands with easy example

…………………………………………………………………………………………….

20. COLOR

इस command के द्वारा हम अपने computer screen के color को change कर सकते हैं 

(This command is used to set the color of the screen of the computer system , we are working with)

Syntax:-    C:\>COLOR  <FIRST hex digit><SECOND hex digit>   ( for FIRST digit  for background, SECOND for foreground color )

Example:- C:\>COLOR 17     

keyboard का ENTER बटन दबाने के बाद, स्क्रीन का रंग blue हो जाएगा और text का रंग white हो जाएगा        

(after pressing ENTER button of the keyboard, the color of screen will be blue & color of the text will be white )

Here Each hex digit can be of  any of the following values:

    0 = Black       8 = Gray

    1 = Blue        9 = Light Blue

    2 = Green       A = Light Green

    3 = Aqua        B = Light Aqua

    4 = Red         C = Light Red

    5 = Purple      D = Light Purple

    6 = Yellow      E = Light Yellow

    7 = White       F = Bright White

Color attributes are specified by TWO hex digits — the first

corresponds to the background; the second the foreground.

21. TITLE

इस command के द्वारा आप command prompt window के title को change कर सकते हैं 

 (This command is used sets the window title for the command prompt window.)

Syntax- C: \> TITLE [string]

Ex- C: \> TITLE ABC

keyboard का ENTER बटन दबाने के बाद, command prompt window का title abc हो जायेगा   

(after pressing ENTER button of the keyboard, TITLE of command prompt will be changed as abc)

 Some External Commands with example (ms dos commands with easy example) 

22. MOVE

इस command के द्वारा आप किसी file को एक location से दूसरी location ले जा सकते हैं 

This command is used to Move a file from one location to another location

Syntax-                  C:\>Move <File Name><Extension><Destination Path>

Ex.- C: \> MOVE  *.txt D:   

इस command में wildcard (*) के द्वारा हम सभी text format की files को C drive से E drive ले जा सकते है 

(Remark:- The above command used a wildcard (*)  to Move all text files to the E: drive)

23. TREE

इस command के द्वारा हम किसी भी drive में सभी folders के internal structure ( आंतरिक व्यवस्था ) को जानते हैं कि वो कहाँ और कैसे रखे हैं 

(This command is used to graphically display the folder structure of a drive or path.)

Syntax:-    C:\>TREE <Drive Name><Path>

Example:- C:\>Tree         (to show current working directory sub-directories as tree)

C:\>Tree aaa                                         (to show specific directory’s sub-directories as tree)

Folder PATH listing

Volume serial number is FCF9-A672

C:\AAA

└───bbb

    └───ccc

MS-DOS commands with easy example

24.CHKDSK

इस command के द्वारा हम किसी disk की properties जैसे volume label, serial number, memory और errors को जानते हैं , ये command , computer की सभी drive की पूरी information दे देती है 

(This command is used to check a disk specified by user and display a status report of computer system with properties of disk like volume label, serial number, memory and other properties along with errors on the disk)

Syntax:-    C:\>CHKDSK <Drive Name>

Example:- C:\>CHKDSK D:     

 (after pressing ENTER button of the keyboard, command will check the disk & produce a report like given below )

( report are distinct bcoz every system is distinct in itself)

C:\>chkdsk d:

The type of the file system is NTFS.

WARNING!  F parameter not specified.

Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)…

  6656 file records processed.

File verification completed.

  0 large file records processed.

  0 bad file records processed.

  0 EA records processed.

  0 reparse records processed.

CHKDSK is verifying indexes (stage 2 of 3)…

  8250 index entries processed.

Index verification completed.

  0 unindexed files scanned.

  0 unindexed files recovered.

CHKDSK is verifying security descriptors (stage 3 of

  6656 file SDs/SIDs processed.

Security descriptor verification completed.

  798 data files processed.

CHKDSK is verifying Usn Journal…

  4890288 USN bytes processed.

Usn Journal verification completed.

Windows has checked the file system and found no prob

 153497599 KB total disk space.

   3484828 KB in 4668 files.

      2348 KB in 799 indexes.

         0 KB in bad sectors.

     82415 KB in use by the system.

     65536 KB occupied by the log file.

 149928008 KB available on disk.

      4096 bytes in each allocation unit.

  38374399 total allocation units on disk.

  37482002 allocation units available on disk.

25.LABEL

इस command के द्वारा हम किसी drive के नाम ( label ) और serial number को जान सकते हैं और हम उस drive के नाम को change भी कर सकते हैं 

(This command is used to see the label (Name ) & serial number of the Drive ,we can change the label of the drive also with LABEL command)

Syntax:-    C:\>LABEL  <Drive Name>

Example:- C:\>LABEL                                                      (after pressing ENTER button of the keyboard, Result will be shown like this )

Volume in drive C: has no label                                   (drive C: has no label – is shown if you are not giving any word after label command)

Volume Serial Number is FCF9-A672

Volume label (32 characters, ENTER for none)?

       ( 2nd condition- if you give any word/letters then Label will be changed to that word/letters)

C:\>label abc

C:\>label

Volume in drive C: is abc

Volume Serial Number is FCF9-A672

Volume label (32 characters, ENTER for none)?

Delete current volume label (Y/N)?          ( if Y then Label will be deleted, if N Label will not be changed)

26. Help 

इस command के द्वारा , हम किसी भी command के प्रयोग की पूरी जानकारी ले सकते हैं , इसके लिए हमे HELP लिखकर उस command को लिखना होता है जिसके बारे में हमे जानकारी चाहिए 

(This command is used to see the different uses of a command, here we are getting help on COLOR command  )

Syntax:-    C:\>HELP  <COMMAND Name>

(after pressing ENTER button of the keyboard, Result will be shown like this )

Example:-                                                           

C:\>HELP COLOR                                                                                    

Sets the default console foreground and background colors.

COLOR [attr]

  attr        Specifies color attribute of console output

Color attributes are specified by TWO hex digits — the first

corresponds to the background; the second the foreground.  Each digit

can be any of the following values:

    0 = Black       8 = Gray

    1 = Blue        9 = Light Blue

    2 = Green       A = Light Green

    3 = Aqua        B = Light Aqua

    4 = Red         C = Light Red

    5 = Purple      D = Light Purple

    6 = Yellow      E = Light Yellow

    7 = White       F = Bright White

If no argument is given, this command restores the color to what it was

when CMD.EXE started.  This value either comes from the current console

window, the /T command line switch or from the Default Color registry value.

The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute

the COLOR command with a foreground and background color that are the same.

Example: “COLOR fc” produces light red on bright white

(Remark: – like this we can get Help on any Command)

27. Sort Command

इस command के द्वारा हम किसी file के भीतर के content को किसी क्रम ( order ) में कर सकते हैं 

(This command is used to sort the content of specified file.)

Syntax:-    C:\>SORT <FILE Name>

suppose there is a file named AAA.txt has content in itself is/are

(666

555

222

111)

Example:- C:\>SORT  AAA.TXT 

(then after pressing ENTER button of the keyboard, Result will be shown like this )       

111

222

555

666

 

**********************************************************

यदि आप इस पोस्ट को English में पढना चाहते हैं तो यहाँ click करें 

MS-DOS commands with easy example in English 

 

**********************************************************

Previous Topic : MS-DOS commands with easy example-part2

**********************************************************

ये भी पढ़े :- दीप कालरा की सफलता deep kalra success story(2020)

**********************************************************

Also Read : How to get rid of debt a2z by Rin Mochan Mangal stotra |ऋणमोचक मंगल स्तोत्र

 

Leave a Comment

Scroll to Top