How to change the text color of DOS window
- Open DOS/cmd Window in admin mode.(start - run - cmd - ok)
- Type 'color 0a' (for green color)and press enter.
- Type 'color 0b' (for sky color)and press enter.
- Type 'color 0c' (for red color)and press enter.
- Type 'color 0d' (for pink color)and press enter.
C:\Users\Raj\Desktop>color red    //To set the color of the screen.
Sets the default console foreground and background colors.
NB : To check the color appearance we can type any dos command at dos prompt such as 
     tasklist/systeminfo/tree/cls/(doskey /history)/ or many more.
How to change the name of DOS prompt
Microsoft Windows [Version 10.0.17763.529]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\Raj>prompt welcome            //To change the prompt name.

welcome data
'data' is not recognized as an internal or external command,
operable program or batch file.

The current date is: 07-06-2019
Enter the new date: (dd-mm-yy)

welcomeprompt test                     ////To change the prompt name again.

The current time is:  7:42:32.38
Enter the new time:

testprompt                  // To back the original prompt again.

how to create and display text file in DOS.
To create a file -
C:\Users\Raj\desktop>copy con abc.txt
This is codershelpline site.
It is yours site.

Press Ctrl+Z to save the notepad file at desktop.

To display the created file -
C:\Users\Raj\desktop>type abc.txt
contents is displayed
How to change the title of DOS window
C:\Users\Raj> title codershelpline

How to take help in DOS 
For more information on a specific command, type HELP command-name
ASSOC          Displays or modifies file extension associations.
ATTRIB         Displays or changes file attributes.

TREE           Graphically displays the directory structure of a drive or
TYPE           Displays the contents of a text file.
VER            Displays the Windows version.
VERIFY         Tells Windows whether to verify that your files are written
               correctly to a disk.
VOL            Displays a disk volume label and serial number.
XCOPY          Copies files and directory trees.
WMIC           Displays WMI information inside interactive command shell.

For more information on tools see the command-line reference in the online help.

C:\Users\Raj>date /?  // To know the details of command options.
C:\Users\Raj>sfc /?
C:\Users\Raj>help | clip    //Now open notepad and paste - help file list automatically appear.

C:\Users\Raj>help > help.txt      //Automatically creates help.txt files in user directory folder. 

How to see the list of used commands in DOS 
C:\Users\Raj>doskey /history
prompt welcome
prompt welcome
prompt test
 title codershelpline
doskey /history

How to see the IP network details using DOS prompt.
How to open/start user applications using dos commands.
C:\Users\Raj>start winword.exe
C:\Users\Raj>start excel.exe
C:\Users\Raj>start notepad
C:\Users\Raj>start mspaint
C:\Users\Raj>start write      //To open wordpad.
C:\Users\Raj>start explorer
C:\Users\Raj>start taskmgr
C:\Users\Raj>start soundrecorder
C:\Users\Raj>start desk.cpl    // To show display window.
C:\Users\Raj>start snippingtool
C:\Users\Raj>start sysdm.cpl     //To open system properties window.
C:\Users\Raj>start psr       //To open steps recorder apps.
C:\Users\Raj>start osk       // To open on-screen keyboard.
C:\Users\Raj>start ncpa.cpl   //To open network connections window.
C:\Users\Raj>start main.cpl      //To open Mouse properties window.
C:\Users\Raj>start inetcpl.cpl   //To open Internet Properties window.
C:\Users\Raj>start ixplore    //To open internet explorer.
C:\Users\Raj>start chrome
C:\Users\Raj>start firefox
C:\Users\Raj>start diskmgmt.msc     //To open disk management window.
C:\Users\Raj>start dfrgui        //To open disk fragmentation.
C:\Users\Raj>start cleanmgr      //To open disk cleanup.
C:\Users\Raj>start hdwwiz.cpl   //To open device manager.
C:\Users\Raj>start timedate.cpl  //To open date time window.
C:\Users\Raj>start control    //To open control panel.
C:\Users\Raj>start compmgmt.msc      // To open computer management.
C:\Users\Raj>start charmap      //To open character map.
C:\Users\Raj>start calc    // To open calculator.
C:\Users\Raj>start pictures    //To open picture window.
C:\Users\Raj>start photoshop
C:\Users\Raj>start powerpnt.exe
C:\Users\Raj>start appwiz.cpl       // To open program and features uninstall window.

 314 total views,  1 views today


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.