|

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 |рдЛрдгрдореЛрдЪрдХ рдордВрдЧрд▓ рд╕реНрддреЛрддреНрд░

 

Share this

Similar Posts