🚀 Become a Master of the Windows Command Line
Discover the secrets of Command Prompt and make your work easier and faster!
To fully utilize the power of Command Prompt, you need to open it with the correct permissions. Many more advanced commands require special permission to function properly.
• Press the Windows button and type "cmd"
• Right-click on "Command Prompt"
• Select "Run as administrator"
Quick shortcut: Type "cmd" and press Ctrl + Shift + Enter at the same time
The order ipconfig It acts as an "identification tool" for your connection. It shows you basic information about your internet connection or local network.
ipconfig
If you want more details, write:
ipconfig /all
When the screen fills with a lot of text and becomes cluttered, use the command cls to clean it:
cls
This simple command will instantly clear the screen, providing a clean space to continue your work.
The order cd allows you to easily move to various folders on your computer:
cd C:\Users\ToOnomaSas\Documents
To go back to the previous folder:
cd ..
To return to the base of drive C:
cd C:\
cd ..\OneDrive takes you to the OneDrive folder after one step back.
To create a new folder, use the command:
mkdir "Νέος Φάκελος"
To delete an empty folder:
rmdir "Φάκελος προς Διαγραφή"
To delete a folder with all its files:
rmdir /S "Φάκελος με Αρχεία"
rmdir /S permanently deletes the folder and its files without moving them to the Recycle Bin. You can't get them back!
With the command echo, you can create text files very quickly:
echo Καλημέρα κόσμε! > χαιρετισμος.txt
To add text to an existing file:
echo Νέα γραμμή κειμένου >> χαιρετισμος.txt
> replaces the content, while the >> adds new text to the end of the file.
The Tab key is your best friend! Instead of typing entire folder names, type the first few letters and press Tab:
cd C:\ProgPress Tab
The system will complete:
cd C:\Program Files\
If there are many options, press Tab again and again to see all the available options!
The order chkdsk acts like a "doctor" for your hard drive. It checks for potential problems and fixes them:
chkdsk C: /f
Are you tired of the black background with white text? You can change it using the command color:
color 0A
| Code | Color |
|---|---|
| 0 | Black |
| 1 | Blue |
| 2 | Green |
| 3 | Sky Blue |
| 4 | Red |
| 5 | Purple |
| 6 | Yellow |
| 7 | White |
| A | Light green |
| B | Light Blue |
| C | Light Red |
The first character defines the background color, and the second the text color. Try it out. color 1F for blue background with white text!
With the command tasklist, you can see all the programs that are currently open and running:
tasklist
If a program hangs or becomes unresponsive, you can kill it using its PID number:
taskkill /F /PID 1234
taskkill /F /IM notepad.exe
Make the Command Prompt more friendly and comfortable to use:
• Select "Properties"
• Change the font size for better reading
• Adjust the colors to your liking
• Adjust the window size
Instead of waiting for commands to be executed one by one, you can combine them using the character &&:
mkdir ΝέοΠροτζεκτ && cd ΝέοΠροτζεκτ && echo Ξεκινάμε! > readme.txt
This command will:
2. It will go to the folder
3. It will create the readme.txt file with the text "Let's get started!"
🎯 Summarizing
Keep practicing, experimenting, and discovering new possibilities. The world of Command Prompt is limitless!
(I.e. Last updated: December 2025
Loading comments...