Commands for command prompt windows


















The ipconfig command can also be used to release and renew IP addresses on systems configured to receive them via a DHCP server. The ipconfig command is available in all versions of Windows.

Ipxroute The ipxroute command is used to display and change information about IPX routing tables. The ipxroute command is available in Windows XP. Microsoft removed their built-in NetWare client beginning in Windows Vista, removing the associated ipxroute command as well. Irftp The irftp command is used to transmit files over an infrared link.

The irftp command is available in Windows 8, Windows 7, and Windows Vista. The kb16 command is not available in bit versions of Windows. Keyb The keyb command is used to configure a keyboard for a specific language. See the kb16 command for an equivalent command in later versions of Windows.

Klist The klist command is used to list Kerberos service tickets. The klist command can also be used to purge Kerberos tickets. The klist command is available in Windows 10, Windows 8 and Windows 7.

Ksetup The ksetup command is used to configure connections to a Kerberos server. The ksetup command is available in Windows 10, Windows 8 and Windows 7. Ktmutil The ktmutil command starts the Kernel Transaction Manager utility. Label The label command is used to manage the volume label of a disk. Lh The lh command is the shorthand version of the loadhigh command.

Licensingdiag The licensingdiag command is a tool used to generate a text-based log and other data files that contain product activation and other Windows licensing information.

The licensingdiag command is available in Windows 10 and Windows 8. Loadfix The loadfix command is used to load the specified program in the first 64K of memory and then runs the program. The loadfix command is not available in bit versions of Windows.

Loadhigh The loadhigh command is used to load a program into high memory and is usually used from within the autoexec. Memory usage is handled automatically beginning in Windows XP. Lock The lock command is used to lock a drive, enabling direct disk access for a program.

The lock command is only available in Windows 98 and Drive locking is no longer available as of Windows XP. Lodctr The lodctr command is used to update registry values related to performance counters. The lodctr command is available in all versions of Windows.

The logman command also supports many functions of Performance Monitor. Logoff The logoff command is used to terminate a session. The lpq command is available in all versions of Windows. The lpr command is available in all versions of Windows. Makecab The makecab command is used to losslessly compress one or more files. The makecab command is sometimes called Cabinet Maker. The makecab command is the same as the diantz command, a command that was removed after Windows 7.

Manage-bde The manage-bde command is used to configure BitLocker Drive Encryption from the command line. The manage-bde command is available in Windows 10, Windows 8, and Windows 7. A script by the name of manage-bde. Md The md command is the shorthand version of the mkdir command. Mem The mem command shows information about used and free memory areas and programs that are currently loaded into memory in the MS-DOS subsystem.

The mem command is not available in bit versions of Windows. Memmaker The memmaker command is used to start MemMaker, a memory optimization tool. Memory usage is automatically optimized beginning in Windows XP. Mkdir The mkdir command is used to create a new folder. Mklink The mklink command is used to create a symbolic link. The mofcomp command is available in all versions of Windows. More The more command is used to display the information contained in a text file.

The mount command is available in Windows 7 and Windows Vista. Mountvol The mountvol command is used to display, create, or remove volume mount points. Move The move command is used to move one or files from one folder to another.

The move command is also used to rename directories. Mrinfo The mrinfo command is used to provide information about a router's interfaces and neighbors. Msav The msav command starts Microsoft Antivirus. Microsoft provides an optional virus protection suite called Microsoft Security Essentials for Windows XP and later operating systems, and third party antivirus tools are available for all versions of Windows.

Msbackup The msbackup command starts Microsoft Backup, a tool used to back up and restore one or more files. The msbackup command was replaced with Microsoft Backup beginning in Windows 95 and then Backup and Restore in later versions of Windows.

Msd The msd command starts Microsoft Diagnostics, a system information tool. The msd command was replaced with System Information beginning in Windows Msg The msg command is used to send a message to a user. Msiexec The msiexec command is used to start Windows Installer, a tool used to install and configure software. Muiunattend The muiunattend command starts the Multilanguage User Interface unattended setup process.

The nbtstat command is available in all versions of Windows. Net The net command is used to display, configure, and correct a wide variety of network settings. The net command is available in all versions of Windows. Net1 The net1 command is used to display, configure, and correct a wide variety of network settings. The net command should be used instead of the net1 command.

The net1 command was made available in Windows NT and Windows as a temporary fix for a Y2K issue that the net command had, which was corrected before the release of Windows XP. The net1 command remains in later versions of Windows only for compatibility with older programs and scripts that utilized the command. Netcfg The netcfg command is used to install the Windows Preinstallation Environment WinPE , a lightweight version of Windows used to deploy workstations.

Netsh The netsh command is used to start Network Shell, a command-line utility used to manage the network configuration of the local, or a remote, computer. Netstat The netstat command is most commonly used to display all open network connections and listening ports. The netstat command is available in all versions of Windows. The nfsadmin command is available in Windows 7 and Windows Vista. Nlsfunc The nlsfunc command is used to load information specific to a particular country or region.

The nlsfunc command is not available in bit versions of Windows. Nltest The nltest command is used to test secure channels between Windows computers in a domain and between domain controllers that are trusting other domains. The nltest command is available in Windows 10, Windows 8, and Windows 7. Nslookup The nslookup is most commonly used to display the hostname of an entered IP address. Ntbackup The ntbackup command is used to perform various backup functions from the Command Prompt or from within a batch or script file.

The ntbackup command is available in Windows XP. The ntbackup command was replaced with the wbadmin beginning in Windows Vista. Ntsd The ntsd command is used to perform certain command line debugging tasks. The ntsd command is available in Windows XP. The ntsd command was removed beginning in Windows Vista due to the addition of dump file support in Task Manager. Ocsetup The ocsetup command starts the Windows Optional Component Setup tool, used to install additional Windows features.

The ocsetup command is available in Windows 8, Windows 7, and Windows Vista. Beginning in Windows 8, Microsoft is depreciating the ocsetup command in favor of the dism command. Openfiles The openfiles command is used to display and disconnect open files and folders on a system. Path The path command is used to display or set a specific path available to executable files. Pathping The pathping command functions much like the tracert command but will also report information about network latency and loss at each hop.

Pause The pause command is used within a batch or script file to pause the processing of the file. When the pause command is used, a "Press any key to continue…" message displays in the command window.

Pentnt The pentnt command is used to detect floating point division errors in the Intel Pentium chip. The pentnt command is also used to enable floating point emulation and disable floating point hardware. The pentnt command is available in Windows XP. The pentnt command was removed beginning in Windows Vista due to the lack of Intel Pentium CPU use at the time of this operating system release. The ping command is available in all versions of Windows. Package Manager installs, uninstalls, configures, and updates features and packages for Windows.

Pnpunattend The pnpunattend command is used to automate the installation of hardware device drivers. Pnputil The pnputil command is used to start the Microsoft PnP Utility, a tool used to install a Plug and Play device from the command line. Popd The popd command is used to change the current directory to the one most recently stored by the pushd command. The popd command is most often utilized from within a batch or script file.

Power The power command is used to reduce the power consumed by a computer by monitoring software and hardware devices.

The power command was replaced by operating system integrated power management functions beginning in Windows XP. Powercfg The powercfg command is used to manage the Windows power management settings from the command line.

Print The print command is used to print a specified text file to a specified printing device. Pushd The pushd command is used to store a directory for use, most commonly from within a batch or script program. Pwlauncher The pwlauncher command is used to enable, disable, or show the status of your Windows To Go startup options.

The pwlauncher command is available in Windows 10 and 8. Qappsrv The qappsrv command is used to display all Remote Desktop Session Host servers available on the network. The qbasic command is not installed by default with Windows 98 or 95 but is available from the installation disc or disks. Qprocess The qprocess command is used to display information about running processes.

Query The query command is used to display the status of a specified service. Quser The quser command is used to display information about users currently logged on to the system. Qwinsta The qwinsta command is used to display information about open Remote Desktop Sessions. Rasdial The rasdial command is used to start or end a network connection for a Microsoft client.

Rcp The rcp command is used to copy files between a Windows computer and a system running the rshd daemon. Rd The rd command is the shorthand version of the rmdir command. The rdpsign command is available in Windows 7. The reagentc command is available in Windows 10, Windows 8, and Windows 7.

Recimg The recimg command is used to create a custom refresh image. The recimg command is available in Windows 8. Recover The recover command is used to recover readable data from a bad or defective disk. Reg The reg command is used to manage the Windows Registry from the command line.

The reg command can perform common registry functions like adding registry keys , exporting the registry , etc. Regini The regini command is used to set or change registry permissions and registry values from the command line.

The register-cimprovider command is available in Windows 10 and Windows 8. Relog The relog command is used to create new performance logs from data in existing performance logs.

Rem The rem command is used to record comments or remarks in a batch or script file. Ren The ren command is the shorthand version of the rename command. Rename The rename command is used to change the name of the individual file that you specify. Repair-bde The repair-bde command is used to repair or decrypt a damaged drive that's been encrypted using BitLocker.

The repair-bde command is available in Windows 10, Windows 8, and Windows 7. Replace The replace command is used to replace one or more files with one or more other files.

Reset The reset command, executed as reset session , is used to reset the session subsystem software and hardware to known initial values.

Restore The restore command is used to restore files that were backed up using the backup command. Rexec The rexec command is used to run commands on remote computers running the rexec daemon.

Rmdir The rmdir command is used to delete an existing or completely empty folder. Robocopy The robocopy command is used to copy files and directories from one location to another. This command is also called Robust File Copy. The robocopy command is superior to both the copy command and the xcopy command because robocopy supports many more options. Route The route command is used to manipulate network routing tables.

The route command is available in all versions of Windows. The rpcinfo command is available in Windows 7 and Windows Vista. Rpcping The rpcping command is used to ping a server using RPC. Rsh The rsh command is used to run commands on remote computers running the rsh daemon.

Rsm The rsm command is used to manage media resources using Removable Storage. The rsm command was optional in Windows Vista and then removed in Windows 7 due to Removable Storage Manager being removed from the operating system. Runas The runas command is used to execute a program using another user's credentials.

Rwinsta The rwinsta command is the shorthand version of the reset session command. Sc The sc command is used to configure information about services. The sc command communicates with the Service Control Manager.

Scandisk The scandisk command is used to start Microsoft ScanDisk, a disk repair program. The scandisk command was replaced by the chkdsk command beginning in Windows XP. Scanreg The scanreg command starts Windows Registry Checker, a basic registry repair program and backup utility. The scanreg command is available in Windows 98 and Windows The functions provided by the scanreg command were no longer necessary beginning in Windows XP due to changes in how the Windows Registry functions.

Schtasks The schtasks command is used to schedule specified programs or commands to run at certain times. The schtasks command can be used to create, delete, query, change, run, and end scheduled tasks.

Secedit The secedit command is used to configure and analyze system security by comparing the current security configuration to a template. Setlocal The setlocal command is used to start the localization of environment changes inside a batch or script file. The setspn command is available in Windows 10, Windows 8, and Windows 7. The setver command is not available in bit versions of Windows. Setx The setx command is used to create or change environment variables in the user environment or the system environment.

Sfc The sfc command is used to verify and replace important Windows system files. The sfc command is also referred to as System File Checker or Windows Resource Checker, depending on the operating system. Shadow The shadow command is used to monitor another Remote Desktop Services session. Get help. Privacy Policy. Password recovery. Home Learn Did You Know? Many commands can only be executed if Command Prompt is being run as an administrator.

To open an Elevated Command Prompt — Locate the Command Prompt shortcut, then right-click on it to bring up its pop-up menu of options and from the pop-up menu, choose Run as administrator. Accept any User Account Control messages or warnings. Your website was superb nice I need more command in command prompt. The tasklist is the another cmd command which enables you to perform one important function which is displaying the list of all the programs running on your system at that time.

But you will say that you can also achieve this just by opening the task manager then let me tell you that tasklist command also shows you the tasks which are hidden from the task manager. This command prompt hack is great in terms of security. Most of the keyloggers or malware run in the background and stay hidden from the task manager. Tasklist also provides you different modifiers such as tasklist -m show you the location of.

If you want to access the hierarchical database of the operating system which is Windows Registry to get details about all the settings and configuration of the operating system and the installed programs in it. You only need to type Regedit in the command prompt window and hit enter.

Taskkill is a great command prompt command that helps you to kill a particular task. The good thing is that you can even kill those tasks which are hidden from the task manager and those which are unresponsive etc.

To kill a task using Taskkill command you need to type taskkill -im and then type the name of that task and hit enter. If you want to get information about each and every driver installed in your system at once then you can use driverquery command for the same.

It is a quick and the easiest method for doing the same. Also, you will not have to check the drivers by using any third-party application as this two steps method is enough to do the wonders.

With the help of this command, you can create undeletable folders. For creating such folder you need to run a command which is md con in the command prompt. The folder will be created at the very moment with the same name. We need telnet command when we want to communicate with a remote computer. But telnet never gets installed by default and you have to manually install it. So, after installing it on your server you will need to connect to the telnet server which can be only done by telnet command.

IPathping is the advanced version of the ping command which provides you to check and troubleshoot the problems occurring in connecting to a site. It is quite helpful for you if there are multiple routers connected to your system and the device you want to check. Pathping also provides you some details about the routes of the packets which you can get from the ping command. If you want to get some details about the all the network connected to your system then netstat is the most useful command for this purpose.

Netstate provides you many subcommands that can be used for different purposes. And for getting the details about the networks, we use the netstat-an command. It will show you a complete list of networks with their local and foreign IP addresses. This command will help you a lot if you are facing some issues with your Windows file system.

It scans each and every file of Windows file system and checks if there is any problem or issue in a particular file. If it finds any issue then it repairs that file automatically. Another command prompt hack. Here is a list of the most used commands in the CMD window or prompt commands that you can type to perform certain tasks in windows.

CMD is the command-line interpreter on Windows operating systems. Command Prompt interacts with the user through a command-line interface. Things were not always like this; but with the advent of GUI-based operating systems, people started feeling that computing through command-based tools was boring. This ultimately leads the command prompt into obscurity.

However, the command prompt is not useless. In fact, it can be pretty useful. This article provides some excellent tricks, secrets, and hacks that will make you realize that the Windows Command Prompt is not only useful but also a tool that you should definitely give more respect to by knowing these cool cmd commands.



0コメント

  • 1000 / 1000