A Guide to Command Prompt Commands in Windows 7,8,10. Today I will show you some commands that let you operate your operating system through commands. You can use these commands in the Command Prompt. So Let's Start.
Here is a list of Command Prompt Commands:-
1. How to enable and disable firewall using the command prompt
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
Use this command:- To Disable Firewall using command prompt
netsh firewall set opmode mode=DISABLE
Use this command:- To Enable Firewall using command prompt
netsh firewall set opmode mode=ENABLE
2. How to copy files and folders using command prompt
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok.
Use this command:- To copy files and folder using command prompt
robocopy /S /E Source Destination
/S:- it will copy all subdirectories
/E:- it will copy empty directories and subdirectories
Source:- From where you want to copy Data (D:\Images)
Destination:- Where you want to copy your Data (E:\Newdata)
For e.g.:- robocopy /S /E D:\Images E:\Newdata
Also, Read This:- How to generate QR Code in chrome?
3. How to close applications using command prompt
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
Use this command:- To check tasks running on the computer
tasklist
You can check the chrome running in the list. Lets close or kill the chrome using the command prompt
Use this command:- To close or Kill the chrome using the command prompt
taskkill /F /IM chrome.exe
/F:- Force chrome to kill or close
/IM:- image name of the process
You can also kill or close a task using the process id
taskkill /PID 5128 /T
/T:- Terminate the specified task
Also, Read This:- List of Websites for free stock images for commercial use
4. How to check who is accessing your shared files
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
Use this command:- How to check who is accessing your shared files
net session
5. How to hide drives using command prompt
Steps how to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
- After opening cmd then type Diskpart.
Caution:- Never try to Hide C drive and boot drive or drive where the operating system is installed. Never try to Hide drives with the following labels.
1. Open cmd then type Diskpart.
2. Now let's check how many drives we have on the computer.
list volume
3. Now I have a list of our all drives. Suppose I want to hide Drive D. Now I will select drive D.
select volume 2
4. Now I will confirm again volume D is selected or not. You will find an asterisk sign if your volume is selected.
list volume
5. Now to hide the drive we will remove the letter name from the drive. After removing Letter drive will not be shown in My computer or This Pc.
remove letter D
You can check D drive is hidden now.
6. If you want to unhide your dive you have to assign a letter again. But before assign your volume must be selected.
assign letter D
6. How to a checklist of computes in LAN using command prompt
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok.
Use this command:-
net view
Also, Read This:- How to generate QR code in chrome 2021
7. How to check system properties or system information using command prompt
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
Use this command:-
systeminfo
8. How to hide files and Folders using command promotes
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
Use this command:-
1. This command will show all files (Hidden and Non-Hidden)
attrib
2. This command will let you hide files.
attrib +h filename or folder name
3. This command will let you unhide files.
attrib -h filename or folder name
4. This command will let your system files and folders be system hidden
attrib +s +h filename or folder name
5. This command will let your files and folder be unhiding files and folders
attrib -s -h filename or folder name
9. How to enable account using command prompt
Steps to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok. (You must have administrator rights)
Use this command:-
1. This command will let you check How many users are on the computer
net user
2. This command lets you change the password of the user account.
net user Administrator 12345
3. This command lets you enable user account using command prompt
net user Administrator /active:yes
Steps How to do:-
- Open Run ( Press Win Logo key + R) then type cmd then click ok.
Use this Command:-
wmic bios get serial number
If You Like It Please Share it with your friends. Also, subscribe to us for more new updates in your email inbox.
Can I remote from tablet to phone
ReplyDelete