Introduction: 10 Command Prompt Secrets and Tricks (Must Know)
Cool command prompt tricks every one should know
Did you know these command prompt secrets?
Step 1: The Fountain
open a text document
write the following then save as with .bat extension (example.bat)
@echo off
color 0a
:loop
echo %random% % % %random% % % %random% % % %random% % % %random% % % %random% % % %random% % % %random% % % %random% % % %random% % %
goto loop
Step 2: List of All Folder in a Directory
press windows key + R
or simply type 'cmd' in the search box
type 'tree'
press enter
a list of all folder and sub folder will be displayed
to change the directory type 'cd' then type the path of the directory
then type 'tree'
press enter.
Step 3: Check This Video for More Details
If you liked this instructable give us a thumb and subscribe to my youtube channel
Step 4: Binary Matrix
As same as we did in step one
@echo off
color 0a
:loop
echo 0 10 10 1010 1 0 00 0 1 1 1 1 0 1 0 1 0 1 0 1 00 0 1 1 1 1 0 1 1 0 10
echo 1 0 1 0 1 0 00 11 0 1 0 101 01 01 10 01 1 1 0 0 00 1 0 0 1 0 1 01 0 1
echo 1 0 1 1 01 0 1 100 1 1 1 0 0 1 10 10 0 1 0 0 1 1 00 1 0 1 1 0 1 0 1
goto loop
Step 5: All Installed Drivers
in the command prompt as we did in the step 2
type 'driverquery'
press enter
a list of all installed driver in the machine will be displayed.
Step 6: Help
simply type help to get a list off commands to help you.
Step 7: All Running Programs
In a command prompt type 'tasklist'
a list off all running programs will be displayed.
Step 8: Network Configuration
'ipconfig/all'
Step 9: Every Information About the Machine
'systeminfo'
Step 10: Change Title and Color of the Command Widnow
type 'title' then type the title you want example : title Circuitalist
to change the color of the background and the font color type 'color' then the color code (example: color 0a)
0 black
1 blue
2 green
3 cyan
4 red
5 magenta
6 yellow/brown
7 white
8 gray
9 bright blue
A bright green
B bright cyan
C bright red
D bright magenta
E bright yellow
F white
Step 11: Want to Get Deeper Into Batch File and Cmd?
you can check this book to learn more about programming