Here are the top 50 Windows command-line interface (CLI) commands that are commonly
used by Windows beginners:
1. dir: List the contents of a directory.
2. cd: Change the current working directory.
3. mkdir: Create a new directory.
4. rmdir: Remove a directory.
5. copy: Copy one or more files to another location.
6. xcopy: Copy files and directories including subdirectories
7. move: Move one or more files to another location.
8. ren: Rename a file or directory.
9. del: Delete one or more files or directories.
10. type: Display the contents of a text file.
11. find: Search for a string of text in a file or the output of a command.
12. findstr: Search for strings in files.
13. more: Display the contents of a file one page at a time.
14. netstat: Display network statistics and information.
15. ping: Test the reachability of a host on a network.
16. ipconfig: Display or configure network interfaces.
17. tracert: Display the route and measure transit delays of packets over a
network.
18. nslookup: Look up the IP address or DNS record for a host.
19. net: Perform various network-related tasks, such as creating or managing user
accounts.
20. netstat: Display active TCP connections and ports on which the computer is
listening.
21. tasklist: Displays a list of applications and services with their Process ID
(PID)
22. taskkill: End one or more tasks or processes.
23. tree: Display the folder structure of a drive or path in a graphical format.
24. start: Start a program, command or batch file.
25. shutdown: Shutdown or restart the computer
26. time: Display or set the system time.
27. date: Display or set the system date.
28. systeminfo : Display operating system configuration and system information.
29. cmd: Start a new instance of the command prompt.
30. cls: Clear the screen.
31. color: Change the color of the text and background of the command prompt
window.
32. ver : Display the version of Windows.
33. drivers : List device
34. driverquery : Display a list of installed device drivers.
35. net user: Manage user accounts and groups.
36. net localgroup: Manage local groups and their members.
37. net share : Manage shared resources on the computer.
38. chkdsk : Check a disk for errors and fix them
39. sfc : Scan and repair system files and protected resources
40. comp : Compare the contents of two files or sets of files
41. sort : Sort input, rearranges lines in a file alphabetically or numerically.
42. find : Search for a text string in a file
43. ftype: Display or define file types for file extension
44. path: Display or set a search path for executable files
45. prompt: Change the command prompt
46. pushd : Change the current directory/folder and also push the current
folder/directory onto a stack
47. popd : Change to the most recent folder/directory pushed with pushd
48. robocopy : Copy files and directory with advanced options.
49. tftp: Transfer files to or from a remote computer using the Trivial File
Transfer Protocol (TFTP)
50. assoc : Display or change the file type associated with a file extension
51. attrib - change file attributes
---------------------------------------------------------------
1. ipconfig
2. ipconfig /all
3. findstr
4. ipconfig /release
5. ipconfig /renew
6. ipconfig /displaydns
7. ipconfig /renew
8. clip
9. ipconfig /flushdns
10. nslookup
11. cls
12. getmac /v
13. powercfg /energy
14. powercfg /batteryreport
15. assoc
16. chkdsk /f
17. chkdsk /r
18. sfc /scannnow
19. DISM /Online /Cleanup /CheckHealth
20. DISM /Online /Cleanup /ScanHealth
21. DISM /Online /Cleanup /RestoreHealth
22. tasklist
23. taskkill
24. netsh wlan show wlanreport
25. netsh interface show interface
26. netsh interface ip show address | findstr “IP Address”
27. netsh interface ip show dnsservers
28. netsh advfirewall set allprofiles state off
29. netsh advfirewall set allprofiles state on
30. ping
31. ping -t
32. tracert
33. tracert -d
34. netstat
35. netstat -af
36. netstat -o
37. netstat -e -t 5
38. route print
39. route add
40. route delete
41. shutdown /r /fw /f /t 0
42. attrib - change file attributes