All commands can run in the command prompt or shell, to pass commands to the operating system. Description and uses of each, options, syntax and links to pages with practical examples.
All Windows systems include a series of commands to transmit orders directly to the operating system.
're simple instructions that can be used in different forms, the most known of them is they introducing the CMD console, but can also be used in scripts or in batch files.
Console CMD shell or Command Prompt as some know him, is a tool included in all versions of Windows.
's a black window where commands are written with the appropriate options and the key is pressed Enter.
How to open and access the CMD console? Read More to Open CMD
➔ The console access can start looking in "All Programs -> Accessories" or writing in the Startup or Run. CMD and press Enter
➔ You can also open an instance of the console in any directory or folder, so that with the shift (Shift) key pressed gives a right mouse click and in the menu "Open Command Window Here" appears choose.
➔ In writes in Windows 8 home screen CMD and press Enter.
If you need to run a command as Administrator, use the Windows + X keys on the menu that opens select the option.
➔ The console access can start looking in "All Programs -> Accessories" or writing in the Startup or Run. CMD and press Enter
➔ You can also open an instance of the console in any directory or folder, so that with the shift (Shift) key pressed gives a right mouse click and in the menu "Open Command Window Here" appears choose.
➔ In writes in Windows 8 home screen CMD and press Enter.
If you need to run a command as Administrator, use the Windows + X keys on the menu that opens select the option.
The MSDOS commands including Windows
Windows commands are a legacy of the first operating systems operating in MSDOS. They all instructions had to be manually executed by methods similar to those listed in this article commands.
use these commands remains fully in force in today.
many have been recently added and were used only as tools in independent packages or kits for use by professionals.
In every version of Windows released, are improved with new options and modifiers, which make it even more powerful.
commands that is related on this page are included in Windows 7, the large Most exceptions are available in Windows XP, Vista and Windows 8.
latter system because it is newer, includes other new commands that can look elsewhere on this site
The list begins below commands included within the cmd.exe executable (the original console), but also others who are independent as robocopy.exe, netstat.exe, netsh.exe, etc.. and only work via the command line. Besides the console run any executable, ie any file extension exe that is in the C:. \ Windows, C: \ Windows \ System32 and other specified variable system environment% PATH%. To run these files do not need to specify the extension, as well as others that are specified in the environment variable% PATHEXT%, for example. com,. cmd,. bat. vbs,. vbe, etc.
Each command is accompanied by a brief description, in some cases with links to pages on this site that have practical examples to download or batch files using this command.Additional information for each command
can extract additional information from the console as the characteristics, instructions for use and any command options as follows:
Write in the console CMD and press the Enter key: ? commandname / .
To write all the help that contains a specific text file to a command, use: commandname />% userprofile% \ Desktop \ Informacion.doc? , and press Enter .
To write all the help that contains a specific text file to a command, use: commandname />% userprofile% \ Desktop \ Informacion.doc? , and press Enter .
List all commands in Windows 7
ARP | Cache maintains the mapping between IP addresses and physical addresses of the adapter or network card. It is used in network tasks to optimize the performance of connections and to resolve conflicts. |
ASSOC | Displays or modifies associations file extensions, or the action that Windows should be performed according to the extension that owns the file. |
AT | The AT command executing program commands and programs on a computer at a specified time and date. The Schedule service must be running to use the AT command. |
ATTRIB | Displays or changes file attributes. In Windows it is assigned to each file according to the function or purpose to be played on the computer an attribute either hidden file, system, read only, etc.. With the ATTRIB command can find the set on a particular file and assign it removed or another. |
Auditpol | It is used to display or change permission settings |
BITSAdmin | It is used to create, manage and monitor tasks file downloads and uploads. |
BREAK | Sets or clears extended CTRL + C in the console. |
BCDboot | Repair Tool and start creating BCD files. The line tool bcdboot.exe command is used to copy files necessary to boot the system partition and create a new BCD store in the system. |
BCDEDIT | Editor database boot configuration (BCD) team. , we can use it to set the order of the operating systems, your name in the boot menu, use systems on virtual disks, enable or disable effects, etc.. |
BOOTCFG | This tool from the command line can be used to configure, query, change, or delete the configuration of the boot entry in the BOOT.INI file on operating systems prior to Windows Vista. |
CACLS | Displays or modifies access control lists (ACLs) of files. |
CALL | Call one second batch from Hurry execution. |
CD | Displays the name of or changes the current directory |
CHCP | Displays or sets the number of active code page. |
Chdir | Displays the name of or changes the current directory, like CD |
CHKDSK | Check, check and repair disk errors. |
CHKNTFS | Displays or modifies the checking of disk system before Windows |
CHOICE | This tool allows users to select an item from a list of options and returns the index of the selected option. |
CIPHER | Displays or alters the encryption of directories [files] on NTFS partitions. |
CLEANMGR | Frees disk space, memory lets you save your options. |
CLIP | It redirects the outcome of the tools command line to the Windows Clipboard. This text output can be pasted into other programs. |
CLS | Clears and clarifies the text or symbols on the screen. |
CMD | Starts a new instance of the console |
Cmdkey | Creates, presents and removes user names and passwords stored. |
COLOR | Sets the colors of the foreground and background of the console |
COMP | Compare the contents of two files or sets of files. |
COMPACT | Displays or alters the compression of files on NTFS partitions. |
CONVERT | Converts FAT volumes to NTFS volumes. You can not convert the current drive. |
COPY | Copies one or more files to another location |
CSCRIPT | Lets run VBS files in the console containing scripts written in VBScript language. Can also be used in batch files with the / / B option, so the error messages and warnings scripting be avoided |
DATE | Displays or sets the date. |
DEL | Deletes one or more files. |
DEFRAG | Locates and consolidates fragmented local volumes to improve system performance files. |
DIR | Displays a list of files and subdirectories in a directory. |
DISM | Provides information, install, uninstall, configure and update additional features and packages in Windows images. For example, to display the installed Windows features that can be uninstalled using: DISM.exe / Online / Inglés / Get-Features / Format |
DISKCOMP | Compare the contents of two floppy disks. |
DISKCOPY | Copy the contents of one floppy disk to another. |
DISKPART | Displays or configures Disk Partition properties. |
DOSKEY | Edits command lines, recalls Windows commands, and creates macros for Windows. |
DRIVERQUERY | Displays the current status and properties of the device driver. |
ECHO | Displays messages, or turns the eco |
ENDLOCAL | End the search for environment variables batch file |
ERASE | Deletes one or more files, like THE |
EXPAND | Expands one or more compressed files |
EXIT | Quits the CMD.EXE program (command interpreter) |
FC | Compares two files or sets of files and displays the differences between them |
FIND | Searching for a text string in one or more files. |
FINDSTR | Searches for strings in files. |
FOR | Executes a command on multiple files simultaneously, to reduce the amount of code needed in various tasks. It is one of the commands that offers greater practical benefits. |
FORFILES | Command use something like FOR, select one or more files and run a command on each.Allows multitude of useful options unexploited. |
FORMAT | Lets give different formats to hard drives or other devices for use with Windows |
FSUTIL | Displays or configures the file system properties. It has several sub commands for the effective management and file system volumes. |
FTYPE | Displays or modifies file types used in file extension association |
Getmac | Displays the MAC address or physical address of the network adapter on the computer if one exists. |
GOTO | Directs the Windows command interpreter to a line in a batch file. |
GPRESULT | Displays Group Policy information for machine or user |
GPUPDATE | Updates the changes made in the Edit Local Group Policy. Allows any of the guidelines established either immediately, on restart or login to activate. To get it activated immediately used: GPUPDATE / force |
GRAFTABL | Enables Windows to display an extended character set in graphics mode |
HELP | Provides Help information for Windows commands |
ICACLS | Displays, modifies, backs up or restores access control lists (ACLs) for files and directories |
IF | Executes commands conditionally, is used to define error values, compare brands, prove existence of files and make mathematical comparisons among others. |
IPCONFIG | Displays the parameters of a connection network. By default, it only shows the IP address, subnet mask and default gateway for each adapter bound conTCP / IP. |
LABEL | Creates, changes, or deletes the volume label of a disk |
LOGMAN | Can handle and manage the Windows Performance Monitor from the command line |
MEM | Displays the amount of free and used memory in the system |
MD | Create a directory or folder |
MKDIR | Create a directory, as above |
MKLINK | Create symbolic links and hard links |
MODE | Configures a system device |
MORE | Displays the screen at |
MOVE | Moves one or more files from one directory to another on the same drive |
MSINFO32 | Starts System Information tool that shows the technical details of computer and operating system. |
MSTSC | Start a remote desktop connection to |
NBTSTAT | Displays protocol statistics and current TCP / IP using NBT (NetBIOS over TCP / IP) |
NET | Sets a range of network parameters. |
Netcfg | It is used to install Windows Preinstallation Environment (WinPE), a version of Windows minima and light used by developers |
NETSH | The NETSH (Network Shell) command will configure, manage conflicts and different network components using the command line locally or remotely. Displays and sets the status of the components of the installed network protocols. Netsh commands are organized as a tree, every technology and protocol has its own context. |
NETSTAT | Displays protocol statistics and current TCP / IP connections. Allows monitoring of all active connections |
NLSFUNC | Load the specific information of a country or region |
Nltest | The Nltest command is used for testing via secure channels between Windows computers from different domains and domain controllers that are trusted |
NSLOOKUP | Displays information about the assigned network connection to your DNS servers. Allows requests to these servers. |
OCSETUP | Start Windows Optional Component Setup tool to install additional Windows options |
Openfiles | Displays files opened by remote users shared |
PATH | Displays or sets a search path for executable files |
PAUSE | Pause the console and displays a message |
PING | Allows you to test your network connection, sending and receiving a data packet. |
POPD | Restores the previous value of the current directory saved by PUSHD |
POWERSHELL | Running an instance of Windows PowerShell, the new command console that includes Windows in later Windows Vista systems. PS When displaying the symbol of the console means that you are in the PowerShell environment, so you enter from the time will be associated with this interpreter, to return to the console just type CMD and press Enter. |
Prints a text file | |
PROMPT | Changes the Windows command prompt |
PUSHD | Saves the current directory then changes |
QAPPSRV | Displays the host servers Remote Desktop session available online |
QPROCESS | Displays information about processes |
QUERY | Displays the current status and parameter of a specific service |
QUSER | Display information about users who have registered to enter the system |
Qwinsta | Displays information about Remote Desktop sessions |
RASDIAL | It is used to start or stop a dialup connection or dial up |
RD | Remove or delete a directory or folder |
RECOVER | Recovers readable information from a defective or damaged disk |
REG | It is used to manage all the parameters Registry Editor from the command line and batch files. You can add, edit keys, values, export branches, etc.. REG command is composed of several subcommands, each for a completely different use are: REG QUERY, ADD REG, REG DELETE, COPY REG, REG SAVE, RESTORE REG REG LOAD, UNLOAD REG, REG COMPARE, REG EXPORT, IMPORT REG and REG FLAGS |
REGEDIT | The REGEDIT command allows you to import, export or delete the registry settings from a text file extension reg.. |
REGSVR32 | Register DLL libraries to incorporate the registration |
RELOG | Relog creates new performance logs from data in existing performance logs by changing the sampling interval or converting the file format. Supports all performance log formats, including compressed logs of Windows NT 4.0 |
REM | Make comments in batch files or CONFIG.SYS. The line in a batch that starts with REM is considered a comment |
REN | Renames one or more files |
RENAME | Renames one or more files, like the previous |
REPLACE | Replaces files |
RMDIR | Removes a directory |
ROBOCOPY | Advanced to copy folders and directories in Windows utility. |
RESET SESSION | (Rwinsta) Re-establish the hardware and software subsystem session to known initial values |
ROUTE | Manipulate network routing tables |
RPCPING | Pings the server using RPC |
RUNDLL32 | Please DLL library functions included in the system. |
RUNAS | It is used to execute a program using credentials or other user rights |
SECEDIT | Analyzes system security and makes the comparison with a specific template |
SET | Displays, sets, or removes Windows environment variables. Variables created only remain during the session created with the console. |
SETLOCAL | Started section of local changes in the console environment |
SETVER | The SETVER command to set the version number of MS-DOS that is reported to a program |
SETX | Create or modify environment variables in the user environment or system. The changes are saved in the registry, so that variables can be used even after closing the current session. |
SC | Displays or configures services (background processes). |
SCHTASKS | Run the Task Scheduler. Commands and programs to run on a computer program. |
SFC | Microsoft Resource Checker examines the integrity of all protected system files and replaces incorrect versions with correct Microsoft from a folder of system or installation disk. 's the ideal time to review and replace damaged program files tool viruses, power outages, etc.. |
SHADOW | Monitor another session of Remote Desktop Services |
SHARE | The SHARE command is used to lock files and functions in MS-DOS |
SXSTRACE | WinSxS tracing utility |
SHIFT | Change position of replaceable parameters in batch files |
SHUTDOWN | Allows shutdown, restart, standby and hibernation local or remote equipment with various options such as waiting time, information messages, forced closed applications, etc. |
SORT | Sort the results of a select command, for example the results of a search with FIND |
START | START and start running programs, applications or other commands in Windows. |
SUBST | Associates a path with a drive letter |
SYSTEMINFO | Displays the properties and the specific computer configuration |
Takeown | This tool allows the administrator to recover access to a file is denied by reallocating file ownership. |
TASKLIST | Display all processes running on the computer with the process ID number (PID) and the memory used. |
TASKKILL | Stops tasks or processes using the PID (process ID number) or name. |
TCMSETUP | It is used to configure or disable client telephony Telephony Application Programming Interface (TAPI) |
TIME | Displays or sets the system time |
TIMEOUT | This utility accepts a timeout parameter to wait for a certain period of (in seconds) or until any key is pressed while. It also accepts a parameter to ignore the key press |
TITLE | Sets the window title for a CMD.EXE session |
Tracerpt | The tracerpt command is used to process the event trace logs or real-time data |
TRACERT | Allows you to track the route between a computer and another on the network, is widely used for where you stopped a data packet on the network. |
TREE | Graphically displays the directory structure of a drive or path |
TSDISCON | Disconnect a Remote Desktop |
TSKILL | Ends a process |
TYPE | Displays the contents of a text file |
Typeperf | Typeperf writes performance data to the command window or to a log file. To stop Typeperf press CTRL + C |
Tzutil | Utility Windows time zone |
UNLODCTR | Removes the counter name and explanatory text for the specified extensible counter |
Show | Displays the version of Windows |
VERIFIER | Start the "Windows drivers Checker" tool to verify the performance of the drivers installed on your system. allows us to know if any of them is the cause of conflicts, unexpected reboots or blue screen errors. |
VERIFY | Tells Windows whether to verify that your files are written correctly to a disk |
VOL | Displays the volume label and serial number of the disk |
VSSADMIN | Management Tool Volume Shadow Service, the images created by Windows System Restore. For example, to list all existing images used: VSSADMIN list shadows |
W32TM | Tool used to diagnose conflicts or one local computer network with the Windows Time service (Windows time) when trying to synchronize or update the system clock |
WAITFOR | This tool sends and waits for a signal in a system. If not specified / S signal to all system of a broadcast domain. If you specify / S signal will only be sent to the specified domain |
WBADMIN | Tool command line backup |
Wevtutil | Command line utility for Windows events. Allows you to retrieve information about event logs and publishers, install and uninstall event manifests, run queries and export, archive and delete records |
WHERE | Shows the location of files that match the search pattern. By default, the search is performed in the current directory and in the paths specified by the PATH environment variable |
WHOAMI | This utility can be used to obtain the target group information and user name with the corresponding security identifiers (SID), privileges, logon identifier (logon ID) of the current user (access token ) on the local system. I mean, who the user is currently connected. If no modifier is specified, the tool displays username in NTLM format (domain \ username) |
WINHLP32 | Runs Windows Help files HLP extension using the |
WinRM | Tool command line Windows Remote Management Windows Remote Management (WinRM) is the Microsoft implementation of the WS-Management protocol that provides a secure way to communicate with local and remote computers using web services |
WinRS | Open a command window in safe mode with a computer on the network |
Winsat | Assessment Tool Windows system. Allows you to check and know the potential of major computer components, such as CPU, memory, disk and video |
WMIC | Displays information in the WMI interactive shell commands. Allows access to all kinds of information, both from the local computer or another network, all data lists hardware and software desponibles |
XCOPY | Copies files and directory trees |
Another way to execute commands in Windows
All the above commands can also run them from the Startup without having to open the console CMD.
For that do the following:
➔ Write CMD / K command + option .
This will execute the command with the option and leave window open . CMD
➔ Write CMD / C + command option
This will execute the command with the option and close the CMD window when finished.
Two examples: CMD / K IPCONFIG / ALL CMD / C START http://google.com
Read Popular Topics : How to Speed Up Your Windows PC 10 Measures to Achieve Higher Performance and SpeedFor that do the following:
➔ Write CMD / K command + option .
This will execute the command with the option and leave window open . CMD
➔ Write CMD / C + command option
This will execute the command with the option and close the CMD window when finished.
Two examples: CMD / K IPCONFIG / ALL CMD / C START http://google.com
Also Check : How-to Enable Run Command In Start Menu
No comments: