ADB-Toolkit V2.3 – Complete Educational Guide for Android Security Testing (With Clear Examples & Explanations)
LearnSkillsHub is a technology learning blog focused on providing simple and practical tutorials for beginners. This blog covers ethical hacking, Kali Linux guidance, cyber security basics, networking concepts, and modern technology tutorials. Our goal is to make complex technical topics easy to understand through clear, step-by-step explanations and ethical learning practices. OFFICIAL YOUTUBE :-https://youtube.com/@learnskills-rk7rv?si=zeXay9-j6APMVbAp
Perfect ๐ฅ Let’s create a “Windows CMD — One Shot Tutorial (Beginner to Advanced 2025)” guide that you can use to learn fully, make notes, or even teach on YouTube.
We’ll go from 0 to expert, covering every practical and powerful CMD concept you’ll actually use in 2025.
CMD (Command Prompt) is the Windows command-line interpreter — used to automate tasks, manage files, control networking, and access system info.
Search: cmd → Run as administrator
Shortcut: Win + R → type cmd → Enter
Admin Mode: Ctrl + Shift + Enter
ver # Show Windows version
help # List all available commands
help <command> # Detailed help for a specific command
dir # List files and folders
cd # Show current directory
cd <path> # Change directory
cd .. # Go up one folder
cls # Clear screen
mkdir <folder> # Create folder
rmdir <folder> # Remove folder (empty)
del <file> # Delete file
copy <src> <dest> # Copy file
move <src> <dest> # Move file
rename <old> <new> # Rename file
type <file> # Display file contents
more <file> # Display one page at a time
systeminfo # Full system details
hostname # Show computer name
ipconfig # Network details
ipconfig /all # Full network details
tasklist # All running processes
taskkill /IM <process.exe> /F # Force close process
driverquery # List installed drivers
wmic cpu get name # CPU info
wmic bios get serialnumber
ping <website> # Test connection
tracert <website> # Trace route to website
netstat -ano # View active connections and ports
nslookup <website> # Get IP of website
netsh wlan show profile # Show saved Wi-Fi profiles
netsh wlan show profile name=<WiFiName> key=clear # Show Wi-Fi password
๐ก Pro Tip: netstat -b shows which programs are using which ports (use admin CMD).
shutdown /s /t 0 # Shutdown immediately
shutdown /r /t 5 # Restart after 5 seconds
chkdsk # Check disk errors
sfc /scannow # Scan and repair system files
taskmgr # Open Task Manager
control # Open Control Panel
appwiz.cpl # Programs & Features
net user # Show all users
net user <username> <pass> /add # Add user
net localgroup administrators <username> /add # Make admin
net user <username> /delete # Delete user
set # Show all environment variables
set <var>=<value> # Create variable
echo %<var>% # Print variable
path # Show PATH
Example:
set name=RedMark
echo Hello %name%
You can automate commands using a .bat file.
Example:
@echo off
echo Starting Backup...
xcopy C:\Users\RedMark\Documents D:\Backup /E /I /Y
echo Backup Complete!
pause
Save as backup.bat → Run.
powercfg /batteryreport /output "battery.html" # Generate battery health report
getmac # Get MAC address
net share # List network shares
wmic product get name,version # Installed apps list
schtasks /create /sc daily /tn "Backup" /tr "C:\backup.bat" /st 21:00
color a # Green text
color 4e # Red on gray background
title RedMark CMD PowerShell
time /t
date /t
tree /f # Show folder structure
echo Hello, World!
&&, ||, and |mkdir Test && cd Test # Run second only if first succeeds
ping google.com || echo "Failed"
dir | find "txt" # Filter output
attrib +h +s <file> # Hide and protect file
attrib -h -s <file> # Unhide
cipher /w:C:\ # Wipe free space securely
dir > output.txt # Save output to file
echo Hello >> log.txt # Append text
assoc .py=Python.File
where python # Find path of installed program
fc file1.txt file2.txt # Compare files
Create a System Cleaner Script
Auto Backup Scheduler using Task Scheduler + CMD
Wi-Fi Password Viewer
Disk Space Report Generator
Custom Command Launcher
| Feature | CMD | PowerShell |
|---|---|---|
| Syntax | Basic | Object-oriented |
| Scripting | .bat | .ps1 |
| Automation | Limited | Advanced |
| Output | Text only | Objects & JSON |
✅ You now know everything from Beginner → Advanced CMD (2025 Edition)
✅ You can automate, control, and troubleshoot Windows fully using CMD
✅ Next Step: Learn PowerShell for modern scripting + automation
Comments
Post a Comment