Sunday, August 21, 2016

CMD Commands, CMD Tricks, CMD Wifi Hacks & Codes 2016 - Command Prompt Tricks

Command Prompt Command, CMD Tricks And Hack Code 2016

CMD Command, CMD Tricks, CMD Wifi Hacks :Hello Guys Today we are going to share best CMD secrets, tricks and hacks for any windows operating system. Command Prompt is best and most powerful tools in windows operating system. Many Students, Programer and operator use command prompt in daily life. Windows command prompt tool and its all command is very boring and complicated because it is text based but many people use cmd very often can tell you there most to love. We use computer or laptop in every field it is combination of hardware and software and most of software that is necessary to run a computer operating system. Using command prompt you gain lots of information about your computer and you can easily perform different tast with cmd cmmand. Windows operating system without even touching the Run box but you cannot run away from CMD Commands.

GBWhatsapp v4.70 Apk Latest Version Download For Android

CMD Tricks And Hacks For Windows

Access Website That Might be Blocked by your Collage or School

Most of collage and school have blocked social media site from accessing them throught your collage and school computer. There are many methods availabe on the internet for access blocked wesite but today we are use command prompt method. In these method ping the blocked wesite to get original IP address and we can easily access this blocked website using this IP address. For access blocked site just follow below step by step process and access the bloced site in your collage or school
  • First Run the command prompt with admin.
  • Type command "ping" and type the website name you want to access. For example : do not use www. or http// or https:// in front of site name.
  • After that press enter button and you will get IP address in form of 0000.00.000.0000
  • Copy this IP address and past in your web browser and press enter.
  • You full access this website in your collage or school.

Know if someone is hacking your computer

Open command prompt and run the "netstat -a" command, it will show you a list of computers that connected to. You will find the Local address column giving information on the port with which your computer is connected to an external computer and Protocolumn giving details on the type of data transmission. In addition to this, you will also notice ‘State’ providing you information on the state of the connection. It will be easier for you to find or trace if someone is hacking your computer or connected to your computer or not.

Check if anyone is stealing your Wifi

  • First step to open your browser and visit or or the default IP address for your broadband.
  • Search for the tab mentioning ‘Attached Devices’.
  • After that find the computer name, IP address, and Physical Address or MAC Address of your laptop or computer.
  • Now compare it with displayed by your router. If you find any strange devices then possibility that your friends or neighbour is sharing the internet connection without your permission.

Create Wi-Fi Hotspot using Command Prompt

You want to share your internet through wifi hotspot then you are right place to create a wifi hotspot using command prompt. Microsoft Windows does not provide UI to create wifi hotspot in any windows. You can easily create wifi hotspot using third party software or using command prompt. By using command prompt we can crate virtual wireless adapter using few command in command prompt.
  • First turn on wifi option on your pc. For Create Wi-Fi Hotspot using Command Prompt in your laptop.
  • Press windows key with R at same time the run windows will be open.
  • Type "cmd" in run and hit enter and command prompt will open.
  • For check driver of wifi you need to run "netsh wlan show drivers" command.
  • In result you will see "hosted network supported : Yes " it mens your laptop is supported with hosted network. 
  • Create wifi hotspot using run this command "netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password"
  • For start wifi hotspot run the command “netsh wlan start hostednetwork” and for stop wifi hotspot run the command “netsh wlan stop hostednetwork“.
  • For check status of hotspot run the command "netsh wlan show hostednetwork"
  • To share your internet go to network and sharing center in contorl panel and click on change adapter setting
  • Right click on connetion that you use to connet to the internet and select properties option.
  • Now click on sharing option and check the box Allow other network users to connect through this computer's internet connection and select the network connection name that is used by your hotspot 
  • And hit on the ok button to save the settings and close the properties.
  • Now go to Network and Sharing Center in Control Panel and you will see your created Wi-Fi connection in active networks section.
  • If you don't want to enter the line ” netsh wlan start hostednetwork” for start the WiFi hotspot you can create a batch file (.bat) to start or stop wifi hostop in one click. If you try to run batch file (.bat) Windows will show a security warning as the file has .bat extension. You can ignore the warning as the file to use.

Change Command Prompt Color

You can easily change command prompt color to look a easy on eyes. To do this on command prompt just right click at the top of Command Prompt and choose “Properties” option from the menu. In the properties option navigate to “Colors” and you will see options to change color of both text and background.

Copying Error Commands to Clipboard Directly

Many times while working with programs and projects you get an error. And you need for copying and pasting the error to the clipboard before reporting. Using this awesome command prompt trick you can easily copy error code to a clipboard. To do run Command Prompt with admin and simply write the command "| clip" at the end of the command. For e.g. Dir /d | clip.

Create Wi-Fi Hotspot using Command Prompt

First turn on wifi option on your pc. For Create Wi-Fi Hotspot using Command Prompt in your laptop you need to run following command
"netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password"
For start wifi hotspot run the command “netsh wlan start hostednetwork” and for stop wifi hotspot run the command “netsh wlan stop hostednetwork“.

Hide Folders using Command Prompt

For Hide folder using command prompt just type the drive name where the folder is located. Write the command “attrib +h +s +r” and enter the name of the file or folder you want to hide. For example “D: Attrib +h +s +r haider”.

Use Function Key

You can easily use function key F1, F2, F3, F4, etc using command prompt. Below are the some result of using different function key in command prompt.  
  • F1: Paste last used command per character in command prompt
  • F2: Paste last used command to specified command
  • F3: Paste Last used command
  • F4: Delete command only specified command characters
  • F5: Paste last used command without cycling
  • F6: Paste ^Z
  • F7: Show a list of already used commands
  • F:8 Paste cycleable used commands
  • F9: paste command from the list of recently used commands

Shutdown Computer

Shutdown your friends, family or relative pc using command prompt. Using command prompt it is very easiy to shutdown computer. For shutdown computer type the following command.
Shutdown /s/t[second]/c"Type Message"
For restart pc type following command.
Shutdown /r/t[second]/c"Type Message"
For Log-off pc type following command.
Shutdown /l/t[second]/c"Type Message"
For Instant shutdown computer type following command
Shutdown /p

Compare Two Files

You can easily compare two files in command prompt and see what the difference between them. The results is not good as comapre to third party available file comparison tools. For compare two files just type “FC” command and then write directories of both text files. For example, you type “fc C:\user\sample1.txt C:\user\sample2.txt” and press enter to get comparison of both files. If both files have same content the command will return this message ‘no difference encountered’. And If both files have different content then this command will show the different content.

Create Undeletable Folder

In windows operating system you cannot folder with pre definded keywords like aux, CON, lp1, lp2, lp3, lp4, lp5, lp6, lp7, lp8, lp9. For create undeletable folder just type following command.
MD "E:\CON\"
For delete this folder replace MD with RD.
RD "E:\CON\"

Watch Star Wars Episode IV

This is a really awesome trick of command prompt although not productive but fun to do. You can easily watch Star Wars Episode IV inside your Command prompt. It will be an ASCII version so do not think for a HD version. The process very is simple and easy just open Command Prompt and write the command “telnet” and press Enter. The movie will start automatically without any error.

Save Command to a File

You are easily svae result of command prompt command in a text file. For save you need to run "destination/filename.txt" command after execute the command you want to run.
For example If you type command “ipconfig > c:\123.txt”, this command create text file in C drive with name 123.txt.

Get Help on Command

This command prompt help is very helpful for beginners of cmd users and advanced users to learn more things. This help provide complete details of any command with examples. You can easily get information about every commands. To get command prompt help type '/?' at the end of command which you need information. 
For example, you type “ipconfig/?” command and you will get all the information about this command.

Copy Data From Command Prompt

In Windows 10 operating system Ctrl+C and Ctrl+V commands to copy and paste has been enabled in Command Prompt but in other windows operating system for copying data from the Command Prompt is not working using Ctrl+C and Ctrl+V. For windows 10 users not need to follow the below process. You need to click anywhere in command prompt and click on “Mark” option from the menu. After that select the text you want to copy and hit Enter to copy. And past the text again click anywhere in command prompt and click on “Past” from the menu. In Windows 10 keyboard shortcuts for CMD are enabled by default.

Check IP Address of Any Website

For Check IP Address of any website you need to type "nslookup" command with the name of website.
For example to chek IP address of MyKnowledgeIdea site type “nslookup” to find IP address.

Quick Edit Mode 

You can quickly copy and past text using quick edit mode in command prompt with just right click on cmd. For enable Quick Edit Mode just right click on the top of the Command Prompt where exit button is located and choose “Properties” option. In properties option check the checkbox next to “Quick Edit Mode” to enable. In Quick Edit mode you can highlight text and right click to copy and right-click in a blank area to paste text from clipboard.

Cycle Through Folders

Specifying exact directorie can be very frustrating task if you do not have the destination copied. If you just know in which drive the required folder is available then you cycle through all folders to reach it. To do just type drive and start press TAB key to cycle through all the folders.

Execute Multiple Commands

For execute more than one command at once you can easily execute one command after second command by putting '&&' between all commands. For example, you can type “dir && ipconfig” to execute both commands.

Make Random Matrix

For create random matrix in command prompt like in hacking movies you need to type following code.
@echo off
color 02
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks

Scan System Files

For scan system file using command prompt you need to type “sfc/scannow” command and hit enter and scan will be start and it will take time depending on your computer processor and RAM. 

Get PC Drivers Update List

You can easily see which drivers are installed on your PC with just a single command in command prompt. For do this type “driverquery” and hit enter and you will see all the drivers installed in your computer with, Name, Type and date.

Check Default Programs

You can easily check which app are used to open specific programs. To do this in command prompt just type “assoc” command and hit enter. You will see all the extensions and associated program that opens them.

Run Multiple Command

For run multiple command in command prompt use && separator after all command for example type
ipconfig && systeminfo

Force Close program

For fininsh tast forcefully and close any program using command prompt type following command
You see all running tast and note down the process you want to close the program and type following command
taskkill /F /IM Process name


This command used tells the windows ip configuration, ip address, subnetmask and default gateway of your computer. For use this command just type

Hack WiFi password using CMD

Hacking a Wi-Fi  is not always easy for all. For easy and safe hacking one should use command prompt and you have to be very careful otherwise you might even get caught. For hack wifi just follow the below step by step process.

  • Press windows key with R at same time the run windows will be open.
  • Type "cmd" in run and hit enter and command prompt will open.
  • Type the command in command prompt "netsh wlan show network mode=bssid"
  • This command show all the available WiFi network in your area.
  • To connect wifi type command "netsh wlan connect name=wifi_name"

Increase Internet Speed

Here i am giving you tricks to increase your Internet Speed with out any softwares. There are many softwares availabe on the Internet which helps in Increasing your Internet Speed. Many peopel facing the Internet speed problems the reason behind this may be the some default settings in your system like reserved bandwidth or Service provider or due to many others. So, follow these steps to Increase your Internet speed and you don't need any software.
  • Press windows key with R at same time the run windows will be open.
  • Type "cmd" in run and hit enter and command prompt will open.
  • Now type "C:/" and Press Enter
  • After that type the command  "netsh interface tcp set global autotuning=disabled" and hit enter.
  • Now close the Command Prompt and Restart your computer or laptop.
  • And Enjoy the High Speed Internet.
Some Tips to Increase Internet Speed 
  • Close unwanted background tasks when you are working with the internet.
  • Clear cookies from your browser
  • Scan your internet by using Anti-virus software
  • Reset your modem and reconnect with the internet.
  • Test internet speed by using 


This command gives information about active internet connection. For use this command type
  • netstate-a: display all connection
  • netstate-n: sorts connection in numerical order
  • netstate-b: display executable name. that is browser name

Other CMD Codes

Add / Remove Programs : appwiz.cpl

Disk Management : diskmgmt.msc

Character : charmap

Wizard file transfer Bluethooth : fsquirt

Accessibility Options : access.cpl

Certificate Manager : certmgr.msc

Checking disk : chkdsk

Add Hardware : hdwwiz.cpl

Manager of the album : clipbrd

Service components : dcomcnfg

DDE active sharing : ddeshare

Disk Defragmenter : dfrg.msc

Calculator : calc

Dr. Watson : drwtsn32

DirectX Control Panel : directx.cpl

Display Properties : control desktop

Command Prompt : cmd

Verification of signatures of files : sigverif

DirectX Diagnostic Utility : dxdiag

Automatic Updates : wuaucpl.cpl

Device Manager : devmgmt.msc

Disk Cleanup : cleanmgr

Manager vérirficateur drivers : check

Computer Management : compmgmt.msc

Folder Options : control folders

System Information : dxdiag

Partition manager : diskpart

Properties of the display : desk.cpl

Fonts : control fonts

Event Viewer : Eventvwr.msc

Findfast : findfast.cpl

Properties display : control color

Game Controllers : Joy.cpl

Fonts folder windows : fonts

Hearts (card game) : mshearts

Free Cell : freecell

IExpress : IExpress

Indexing Service : ciadv.msc

IPConfig (configuration) : ipconfig / all

IPConfig (IP configuration maps) : ipconfig / renew

IPConfig (erases the contents of the DNS cache) : ipconfig / flushdns

Local Users and Groups : lusrmgr.msc

Local Security Settings : secpol.msc

Keyboard Properties : control keyboard

Java Control Panel : jpicpl32.cpl

Microsoft Chat : winchat

Notepad : notepad

Logout : logoff

Minesweeper : winmine

Administrative Tools : control admintools

Group Policy : gpedit.msc

Internet Properties : inetcpl.cpl

Screen Keyboard : OSK

Manager links : packager

Network configuration wizard : netsetup.cpl

NView Desktop Manager : nvtuicpl.cpl

Data Source Administrator ODBC : odbccp32.cpl

AC3 Filter : ac3filter.cpl

Network Connection : ncpa.cpl

Password manager : Password.cpl

Network Connections : control NetConnect

Dialing Properties : telephon.cpl

Power Options : powercfg.cpl

Monitor performance : perfmon

Private Character Editor : eudcedit

Printers and Faxes : control printers

Monitor performance : perfmon.msc

Removable Storage : ntmsmgr.msc

Quicktime : QuickTime.cpl

Properties of the mouse : main.cpl

Date and Time Properties : timedate.cpl

Regional and Language Options : intl.cpl

RSoP : rsop.msc

Remote desktop connection : mstsc

Console management services : services.msc

requests the operator to removable storage : ntmsoprq.msc

shared folders : fsmgmt.msc

Scanners and Cameras : sticpl.cpl

Security Center : wscui.cpl

Turn off windows : shutdown

Windows update : wupdmgr

SFC : sfc / cachesize = x

Windows firewall : firewall.cpl

Microsoft Magnifier : magnify

Sounds and Audio Devices : mmsys.cpl

Client Network Utility SQL server : cliconfg

Spider game : spider

Scheduled Tasks : control schedtasks

System Configuration Editor : sysedit

System File Checker : sfc / scannow

Windows Management Infrastructure : wmimgmt.msc

SFC (Scan startup) : sfc / scanonce

System Configuration Utility : msconfig

SFC (purge cache files) : sfc / purgecache

SFC (Scan démarraget) : sfc / scanboot

System Properties : sysdm.cpl

Editor of the registry : regedit

SFC (default settings) : sfc / revert

Telnet client : telnet

Task Manager : taskmgr

Utility Manager : utilman

User Accounts : nusrmgr.cpl

CSVDE : Import or Export Active Directory data

COMPACT : Compress files or folders on an NTFS partition

BROWSTAT : Get domain, browser and PDC info

CleanMgr : Automated cleanup of Temp files, recycle bin

CHKDSK Check Disk : check and repair disk problems

BOOTCFG : Edit Windows boot settings

CHANGE : Change Terminal Server Session properties

AT : Schedule a command to run at a later time

CD : Change Directory – move to a specific Folder

ASSOC : Change file extension associations

CALL : Call one batch program from another

COPY : Copy one or more files to another location

CONVERT : Convert a FAT drive to NTFS

COMPRESS : Compress individual files on an NTFS partition

COMP : Compare the contents of two files or sets of files

ADDUSERS : Helps Add or list users to/from a CSV file

COLOR : Change colors of the CMD window

CHOICE : Accept keyboard input to a batch file

ATTRIB : Change file attributes

CMD : Start a new CMD shell

CLUSTER : Windows Clustering

CHKNTFS : Check the NTFS file system

CIPHER : Encrypt or Decrypt files/folders *

CACLS : Change file permissions

CLS : Clear the screen

CLIP : Copy STDIN to the Windows clipboard

CLEARMEM : Clear memory leaks

ARP : Address Resolution Protocol

CON2PRT : Connect or disconnect a Printer

ASSOCIAT : One step file association

EXPAND : Uncompress files

DSMOD : Modify user in active directory

ECHO : Display message on screen

DOSKEY : Edit command line, recall commands, and create macros

DIR : Display a list of files and folders

ENDLOCAL : End localisation of environment changes in a batch file

DSQUERY : List items in active directory

DevCon : Device Manager Command Line Utility

DISKCOMP : Compare the contents of two floppy disks

DELTREE : Delete a folder and all subfolders

DNSSTAT : DNS Statistics

DEL : Delete one or more files

DIRUSE : Display disk usage

EXIT : Quit the CMD shell

DSADD : Add user to active directory

EXTRACT : Uncompress CAB files

DISKCOPY : Copy the contents of one floppy disk to another

DELPROF : Delete NT user profiles

ERASE : Delete one or more files

DEFRAG : Defragment hard drive

DATE : Display or set the date

Dcomcnfg : DCOM Configuration Utility

FC : Compare two files

LOGEVENT : Write text to the NT event viewer.

FDISK : Disk Format and partition

LOCAL : Display membership of local groups

FIND : Search for a text string in a file

KILL : Remove a program from memory

FINDSTR : Search for strings in files

IFMEMBER : Is the current user in an NT Workgroup

FOR Loop command : all options Files, Directory, List

IPCONFIG : Configure IP

FORFILES : Batch process multiple files

IF : Conditionally perform a command

FORMAT : Format a disk

HFNETCHK : Network Security Hotfix Checker

FREEDISK : Check free disk space

HELP : Online Help

FSUTIL : File and Volume utilities

GOTO : Direct a batch program to jump to a labelled line

FTP : File Transfer Protocol

GLOBAL : Display membership of global groups

FTYPE : Display or modify file types used in file extension associations

LOGTIME : Log the date and time in a file

LABEL : Edit a disk label

LOGOFF : Log a user off

NTRIGHTS : Edit user account rights

MEM : Display memory usage

NETDOM : Domain Manager

MD : Create new folders

NETSVC : Command-line Service Controller

MODE : Configure a system device

NBTSTAT : Display networking statistics

MORE : Display output, one screen at a time

NETSH : Configure network protocols

MOUNTVOL : Manage a volume mount point

NTBACKUP : Backup folders to tape

MOVE : Move files from one folder to another

NOW : Display the current Date and Time

MOVEUSER : Move a user from one domain to another

NETSTAT : Display networking statistics

MSG : Send a message

NET : Manage network resources

MSIEXEC : Microsoft Windows Installer

NSLOOKUP : Name server lookup

PsFile : Show files opened remotely

MSINFO : Windows NT diagnostics

PsLoggedOn : Who’s logged on

MSTSC : Terminal Server Connection

MUNGE : Find and Replace text within file

MV : Copy in-use files

PATH : Display or set a search path for executable files

QGREP : Search file(s) for lines that match a given pattern.

PATHPING : Trace route plus network latency and packet loss

PUSHD : Save and then change the current directory

PAUSE : Suspend processing of a batch file and display a message

PsSuspend : Suspend processes

PERMS : Show permissions for a user

PsShutdown : Shutdown or reboot a computer

PERFMON : Performance Monitor

PsService : View and control services

PING : Test a network connection

PsPasswd : Change account password

PsLogList : Event log records

POPD : Restore the previous value of the current directory saved by PUSHD

PsList : List detailed information about processes

PORTQRY : Display the status of ports and services

PsKill : Kill processes by name or process ID

PRINT : Print a text file

PsInfo : List information about a system

PsGetSid : Display the SID of a computer or a user

PRNCNFG : Display, configure or rename a printer

PsExec : Execute process remotely

PRNMNGR : Add, delete, list printers set the default printer

SCLIST : Display NT Services

PROMPT : Change the command prompt

RUNDLL32 : Run a DLL command

RASDIAL : Manage RAS connections

SCHTASKS : Create or Edit Scheduled Tasks

RASPHONE : Manage RAS connections

ScriptIt : Control GUI applications

RECOVER : Recover a damaged file from a defective disk.

SC : Service Control

REG : Read, Set or Delete registry keys and values

SETLOCAL : Control the visibility of environment variables

REGEDIT : Import or export registry settings

SETX : Set environment variables permanently

REGSVR32 : Register or unregister a DLL

SET : Display, set, or remove environment variables

REGINI : Change Registry Permissions

SHARE : List or edit a file share or print share

REM : Record comments (remarks) in a batch file

SHIFT : Shift the position of replaceable parameters in a batch file

REN : Rename a file or files.

SYSTEMINFO : List system configuration

REPLACE : Replace or update one file with another

TYPE : Display the contents of a text file

RD : Delete folder

TREE : Graphical display of folder structure

RDISK : Create a Recovery Disk

TRACERT : Trace route to a remote host

RMTSHARE : Share a folder or a printer

TOUCH : Change file timestamps

ROBOCOPY : Robust File and Folder Copy

TITLE : Set the window title for a CMD.EXE session

ROUTE : Manipulate network routing tables

TIMEOUT : Delay processing of a batch file

RUNAS : Execute a program under a different user account

TIME : Display or set the system time

SHORTCUT : Create a windows shortcut

TASKLIST : List running applications and services

SHOWGRPS : List the NT Workgroups a user has joined

SUBST : Associate a path with a drive letter

SHOWMBRS : List the Users who are members of a Workgroup

XCOPY : Copy files and folders

SHUTDOWN : Shutdown the computer

XCACLS : Change file permissions

SLEEP : Wait for x seconds

WMIC WMI : Commands

SOON : Schedule a command to run in the near future

WINMSDP : Windows system diagnostics II

SORT : Sort input

WINMSD : Windows system diagnostics

START : Start a separate window to run a specified program or command

WINDIFF : Compare the contents of two files or sets of files

SU : Switch User

WHOAMI : Output the current UserName and domain

WHERE : Locate and display files in a directory tree

SUBINACL : Edit file and folder Permissions, Ownership and Domain

VOL Display : a disk label

USRSTAT List : domain usernames and last login

VERIFY : Verify that files have been saved

VER : Display version information


Post a Comment