0% found this document useful (0 votes)
33 views

Command Prompt Commands

The document provides descriptions of various commands that can be used in the Windows Command Prompt interface. It explains commands for logging off and shutting down Windows, viewing running processes and system information, navigating and listing files and folders, checking network configuration and connectivity, clearing the command prompt screen, and getting help for commands. Additional commands covered include changing directories, creating subdirectories, showing the computer hostname, and displaying the current time and date.

Uploaded by

Amit
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Command Prompt Commands

The document provides descriptions of various commands that can be used in the Windows Command Prompt interface. It explains commands for logging off and shutting down Windows, viewing running processes and system information, navigating and listing files and folders, checking network configuration and connectivity, clearing the command prompt screen, and getting help for commands. Additional commands covered include changing directories, creating subdirectories, showing the computer hostname, and displaying the current time and date.

Uploaded by

Amit
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

Logoff

Although signing out of Windows is an easy thing to do from the graphical interface, you might
prefer the command line sometimes. And Command Prompt has a simple command just for that:

Run it, and you’re out. Logged out of Windows.

2. Shutdown

Maybe one of the most useful commands in Command Prompt. You can use it to shutdown,
restart, log a user out, reboot into UEFI (BIOS), and you can even schedule after how much time
any of these happen. To shut down your PC from CMD, run:
3. Tasklist

You probably know and sometimes use Task Manager to see processes running on your
Windows computer. But did you know that you can also view processes in Command Prompt?
There’s a simple CMD command for that:

4. Ver

Want to find out what version of Windows you use? Let Command Prompt help you identify the
exact version and build of Windows. One of the easiest ways to get this information is to run this
CMD command:

5. Systeminfo

Another CMD command that can be quite useful in certain situations is:

systeminfo

It collects and displays information about your computer hardware (like the processor, RAM,
and network cards installed) and Windows installation (version, install date, hotfixes applied,
etc.).

6. Dir

If you need to work with files and folders in Command Prompt, the dir command is essential.
Use it to list the contents of a directory so that you know what files and folders are in it:

7. Cd

Cd is a basic CMD command that allows you to change the current directory. In other words,
you use it to navigate to another folder on your PC. Its basic syntax is:
8. Ipconfig

In Windows, there are many ways to find details about your network cards and connections. And
one of the best methods is using the ipconfig CMD command. Ipconfig gets its name from
Internet Protocol Configuration, and it’s a command designed to show and manage the IP
addresses of your computer.

9. Ping

Ping is the basic network-related CMD command you should use to test whether your PC can
reach a destination device through the network and/or the internet. In Command Prompt, enter

10. Cls

We’re nearing the end of this article, and if you’ve tried at least a couple of the previous
commands, your Command Prompt window is now full of information. You’re in dire need of a
clean slate to start over, right? Say hi to cls, Command Prompt's very own blackboard cleaner
and one of the simplest commands in CMD. Run it, and the Command Prompt resets its window,
clearing itself from previous commands and their output.

11. Help

The last best CMD command you should know is help. Run it just like that, and you’ll get a list
of essential commands you can run in Command Prompt and short descriptions for each of them.
Type help followed by the name of a command you want to know more about, and Command
Prompt will show you its syntax, use, and detailed description.

#12) CD- Change Directory

This command allows users to change from one directory to another or move from one folder to
another.

#13) Mkdir

This command is used when subdirectories are to be created within the directories.

#14) Hostname

This command shows the hostname of the computer.

15) Time

This command display the current time

16) Date This command display the current date

You might also like