Search This Blog

cmd for windows

All cmd tricks


1) ren *.<format> *.<Format> // given format after change format.


2)attrib +s +h "H:\New folder\My Friends\Sas.clg\name" // hide file

   attrib -s -h "H:\New folder\My Friends\Sas.clg\name" // unhide file


3)wmic product get name //List out the installed program on PC


4)Creating Wifi Hotspot:


Step 1: write "netsh wlan set hostednetwork mode=allow ssid=HotspotName key=password" and hit enter


Step 2: Now For turning on hotspot write "netsh wlan start hostednetwork" and for turning off "netsh wlan stop hostednetwork"


5)Changing Color of Command Prompt

step 1: "help color"

step 2: "color (value)"


6)To know the WiFi password using cmd

step 1: open admin cmd

step 2: "netsh wlan show profile"

Step 3: "netsh wlan show profile (WiFi-name) key=clear"


7)Remove Shortcut Virus from USB Drives & PC

Step 1:attrib <Your USB drive>:*.* /d /s -h -r -s

example: attrib g:*.* /d /s -h -r -s

8)Find admin pswd & change 

step 1:  open admin cmd

step 2: "net user"

Step 3: "net user <user name> /random"

example: net user Admin

Step 4: "net user <user name> *"

Step 5: Type new pswd


No comments:

Post a Comment

Warrior System config

General PC setting and tricks:   CMD tricks  System settings Activate win 10  pro Whatsapp tricks: