C:\Users\USER-PC>wmic product get name
If you want to uninstall an app :
C:\Users\USER-PC>wmic product where "name like '%NAMEOFAPP%'" call uninstall /nointeractive
X:\Sources>bootrec.exe /fixmbr The operation completed successfully. X:\Sources>bootsect.exe /nt60 all /force Target volumes will be updated with BOOTMGR compatible bootcode. Bootcode was successfully updated on all targeted volumes.
Move back one directory
C:\Users\USER-PC>cd..
Moves back to the root directory
C:\Users\USER-PC>cd\
Move to specific Directory
C:\Users\USER-PC>cd Directory Name
Filter by (starting with 'char')
C:\Users\USER-PC>dir char*
Pauses after each screenful of information
C:\Users\USER-PC>dir /p
Uses wide list format
C:\Users\USER-PC>dir /w
Produce a tree listing and overview of the current directory
C:\Users\USER-PC>tree
Produce a tree listing that include the names of files located in each of the directories in the tree
C:\Users\USER-PC>tree /f
The msg command in Windows is used to send messages to users, sessions, or server machines. Here’s a breakdown of the command and its options:
msg {<username> | <sessionname> | <sessionID>| @<filename> | *} [/server:<servername>] [/time:<seconds>] [/v] [/w] [<message>]
Sends the message "Hello, this is a test message." to the user with the username username.
msg username "Hello, this is a test message."
Sends the message to all users currently logged into the local machine.
msg * "Attention, the system will be rebooted in 10 minutes."
Sends the message "Please save your work." to the session with ID 1.
msg 1 "Please save your work."
Sends the message "Your session will expire in 2 minutes." to the user, which will be displayed for 120 seconds.
msg username /time:120 "Your session will expire in 2 minutes."
C:\Users\USER-PC>CMD1 && CMD2
Manual
CMD
C:\Users\USER-PC>cd "Your Folder Path"
Pause Windows Updates
C:\Users\USER-PC>net stop wuauserv The Windows Update service is stopping. The Windows Update service was stopped successfully. C:\Users\USER-PC>net stop bits The Background Intelligent Transfer Service service is stopping. The Background Intelligent Transfer Service service was stopped successfully. C:\Users\USER-PC>net stop dosvc The Delivery Optimization service is stopping. The Delivery Optimization service was stopped successfully.
Continue Windows Updates
C:\Users\USER-PC>net start wuauserv The Windows Update service is starting. The Windows Update service was started successfully. C:\Users\USER-PC>net start bits The Background Intelligent Transfer Service service is starting. The Background Intelligent Transfer Service service was started successfully. C:\Users\USER-PC>net start dosvc The Delivery Optimization service is starting. The Delivery Optimization service was started successfully.
rd /s /q folderName
The rd /s /q command is used in the Windows Command Prompt to quickly and silently delete a folder and all its contents. This method bypasses the Recycle Bin and avoids any confirmation prompts, making it significantly faster than deleting through the Windows GUI—especially for large or deeply nested directories. It's ideal for scripting, automation, or when performance matters.
C:\Users\USER-PC>netsh wlan show profile name="PROFILE NAME" key=clear
CMD FILE Path :
C:\Users\USER-PC>ipconfig > FILENAME.txt
Update FILE In CMD FILE Path :
C:\Users\USER-PC>ipconfig >> "C:\Users\USER-PC\FILENAME.txt"
In Specific Path :
C:\Users\USER-PC>ipconfig > FILENAME.txt
Update FILE In Specific Path :
C:\Users\USER-PC>ipconfig >> "C:\Users\USER-PC\FILENAME.txt"
You may change ipconfig to other CMD function.